|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| commdlg.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
WM_CHOOSEFONT_GETLOGFONT
Send the WM_CHOOSEFONT_GETLOGFONT message to a Font dialog box to retrieve
information about the user's current font selections.
WM_CHOOSEFONT_GETLOGFONT
wParam = 0; // not used, must be zero
lParam = (LPLOGFONT) lplf; // address of struct. with font data
Parameters
lplf
Pointer to a
LOGFONT structure that receives information about the user's current font selections.
Return Values
This message does not return a value.
Remarks
The
ChooseFont function creates a Font dialog box. When the user closes the Font dialog box,
the
ChooseFont function returns information about the user's font selections in the
CHOOSEFONT structure. The
lpLogFont member of the
CHOOSEFONT structure is a pointer to a
LOGFONT structure.
Use the WM_CHOOSEFONT_GETLOGFONT message to get information about the user's
current font selections while the Font dialog box is open. For example, if you
enable the Apply button in the Font dialog box, send the message to get the font
information to apply to the current text selection.
Typically, you enable a
CFHookProc hook procedure to process WM_COMMAND messages for the Apply button. When the
user clicks the Apply button, the hook procedure sends the
WM_CHOOSEFONT_GETLOGFONT message to the dialog box.
See Also
CFHookProc,
ChooseFont,
CHOOSEFONT,
LOGFONT,
WM_COMMAND
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database