AfxGetWindowFontfunction
Retrieves the font with which the window or control is currently drawing its text.
Syntax
FUNCTION AfxGetWindowFont (BYVAL hwnd AS HWND) AS HFONT
Parameters
| Name | Description | |
|---|---|---|
hwnd | A handle to a window or control. |
Return value
The handle of the font.
Description
Retrieves the font with which the window or control is currently drawing its text.
Reference
- Include file
AfxWin.inc - Defined in AfxNova/AfxWin.inc:3390
- Documented in Windows/Windows Procedures.md
- Topic: Windows Procedures