WinXDraw_GetFontDialog (hWndOwner, LOGFONT @logFont, @colour)
Displays a dialog box allowing the user to select a font.
Parameter | Description |
---|---|
hWndOwner | The handle to the window that will own the dialog, or 0 for none |
LOGFONT @logFont | The logFont structure used to initialise the dialog. When the function returns this structure will contain the user's selection |
@colour | The colour used to initialise the dialog. When the function returns this variable will contain the user's selection |
$$TRUE on success or $$FALSE on fail
You should initialise the LOGFONT structure with WinXDraw_MakeLogFont before calling this function for the first time.
'Declare the LOGFONT structure ... 'Initialise the parameters 'Ask the user for a font |
Text and Fonts
WinXDrawText
WinXDraw_MakeLogFont
WinXSetFont