HWND hWnd;
HDC hDC;
TEXTMETRIC textmetric;
- RECT rect;
INT nLineHeight;
- long code;
+ long code;
char *reason;
/* remember this, since it is a useful thing for some of the Windows
if (!hWnd)
return (FALSE);
-
/* lookup text dimensions */
hDC = GetDC(hWnd);
GetTextMetrics(hDC, &textmetric);