WM_CHOOSEFONT_SETFLAGS  1VGEZN3 

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

 

Parameters

lpcf

Pointer to a CHOOSEFONT5AWY_T0 structure that contains new settings in the Flags member.

 

Return Values

No return value.

Remarks

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.

See Also

CFHookProc, ChooseFont, CHOOSEFONT