Send the WM_CHOOSEFONT_SETFLAGS message to a Font dialog box to set the display options for the dialog box.
WM_CHOOSEFONT_SETFLAGS
wParam = 0; // not used, must be zero
lParam = (LPCHOOSEFONT) lpcf; // address of struct. with flags data
No return value.
The ChooseFont function creates a Font dialog box and uses a CHOOSEFONT structure to specify the initial values for the Flags member. Use the WM_CHOOSEFONT_SETFLAGS message to specify different values for the Flags member while the Font dialog box is open.
Typically, you should send the WM_CHOOSEFONT_SETFLAGS message from a CFHookProc hook procedure.
Windows NT: Requires version 3.51 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in commdlg.h.
Common Dialog Box Library Overview, Common Dialog Box Messages, CFHookProc, ChooseFont, CHOOSEFONT