Lines Matching refs:HFONT
212 #define DeleteFont(hfont) DeleteObject((HGDIOBJ)(HFONT)(hfont))
213 #define SelectFont(hdc, hfont) ((HFONT)SelectObject((hdc), (HGDIOBJ)(HFONT) (hfont)))
214 #define GetStockFont(i) ((HFONT)GetStockObject(i))
1377 /* HFONT Cls_OnGetFont(HWND hwnd) */
1378 #define HANDLE_WM_GETFONT(hwnd, wParam, lParam, fn) (LRESULT)(DWORD)(UINT)(HFONT)(fn)(hwnd)
1379 #define FORWARD_WM_GETFONT(hwnd, fn) (HFONT)(UINT)(DWORD)(fn)((hwnd), WM_GETFONT, 0L, 0L)
1381 /* void Cls_OnSetFont(HWND hwndCtl, HFONT hfont, BOOL fRedraw) */
1383 ((fn)((hwnd), (HFONT)(wParam), (BOOL)(lParam)), 0L)
1385 (void)(fn)((hwnd), WM_SETFONT, (WPARAM)(HFONT)(hfont), (LPARAM)(BOOL)(fRedraw))