WM_CHOOSEFONT_SETLOGFONT
Send the
WM_CHOOSEFONT_SETLOGFONT message to a Font dialog box to set the current
logical font information.
WM_CHOOSEFONT_SETLOGFONT
wParam = 0; // not used, must be zero
lParam = (LPLOGFONT) lplf; // address of struct.
with font data
Parameters
lplf
Pointer to a LOGFONT
Return Values
No return
value.
Remarks
When you call
the ChooseFont
Typically,
you would send the WM_CHOOSEFONT_SETLOGFONT message from a CFHookProc
hook procedure. The hook procedure can also send the WM_CHOOSEFONT_GETLOGFONT
and WM_CHOOSEFONT_SETFLAGS messages.
See Also