WM_CHOOSEFONT_GETLOGFONT

WM_CHOOSEFONT_GETLOGFONT

wParam = 0; /* not used, must be zero */

lplf = (LPLOGFONT) lParam; /* address of a LOGFONT structure */

An application sends a WM_CHOOSEFONT_GETLOGFONT message to the Font dialog box created by the ChooseFont function to retrieve the current LOGFONT structure.

Parameters

lplf

Points to a LOGFONT structure that receives information about the current logical font.

Return Value

This message does not return a value.

Comments

An application uses this message to retrieve the LOGFONT structure while the Font dialog box is open. When the user closes the dialog box, the ChooseFont function receives information about the LOGFONT structure.

See Also

WM_GETFONT