#INTERNAL_USE_ONLY# ===========================================================================================================
; Name...........: $tagCHOOSEFONT
; Description ...: Contains information that the _ChooseFont function uses to initialize the Font dialog box
; Fields ........: Size - Specifies the size, in bytes, of the structure
; hWndOwner - Handle to the window that owns the dialog box
; hDC - Handle to the device context
; LogFont - Pointer to a structure
; PointSize - Specifies the size of the selected font, in units of 1/10 of a point
; Flags - A set of bit flags that you can use to initialize the Font dialog box.
; +This parameter can be one of the following values:
; |$CF_APPLY - Causes the dialog box to display the Apply button
; |$CF_ANSIONLY - This flag is obsolete
; |$CF_TTONLY - Specifies that ChooseFont should only enumerate and allow the selection of TrueType fonts
; |$CF_EFFECTS - Causes the dialog box to display the controls that allow the user to specify strikeout,
; +underline, and text color options
; |$CF_ENABLEHOOK - Enables the hook procedure specified in the lpfnHook member of this structure
; |$CF_ENABLETEMPLATE - Indicates that the hInstance and lpTemplateName members specify a dialog box template to use
; +in place of the default template
; |$CF_ENABLETEMPLATEHANDLE - Indicates that the hInstance member identifies a data block that contains a preloaded
; +dialog box template
; |$CF_FIXEDPITCHONLY - Specifies that ChooseFont should select only fixed-pitch fonts
; |$CF_FORCEFONTEXIST - Specifies that ChooseFont should indicate an error condition if the user attempts to select
; +a font or style that does not exist.
; |$CF_INITTOLOGFONTSTRUCT - Specifies that ChooseFont should use the structure pointed to by the lpLogFont member
; +to initialize the dialog box controls.
; |$CF_LIMITSIZE - Specifies that ChooseFont should select only font sizes within the range specified by the nSizeMin and nSizeMax members.
; |$CF_NOOEMFONTS - Same as the $CF_NOVECTORFONTS flag.
; |$CF_NOFACESEL - When using a LOGFONT structure to initialize the dialog box controls, use this flag to selectively prevent the dialog box
; +from displaying an initial selection for the font name combo box.
; |$CF_NOSCRIPTSEL - Disables the Script combo box.
; |$CF_NOSTYLESEL - When using a LOGFONT structure to initialize the dialog box controls, use this flag to selectively prevent the dialog box
; +from displaying an initial selection for the font style combo box.
; |$CF_NOSIZESEL - When using a structure to initialize the dialog box controls, use this flag to selectively prevent the dialog box from
; +displaying an initial selection for the font size combo box.
; |$CF_NOSIMULATIONS - Specifies that ChooseFont should not allow graphics device interface (GDI) font simulations.
; |$CF_NOVECTORFONTS - Specifies that ChooseFont should not allow vector font selections.
; |$CF_NOVERTFONTS - Causes the Font dialog box to list only horizontally oriented fonts.
; |$CF_PRINTERFONTS - Causes the dialog box to list only the fonts supported by the printer associated with the device context
; +(or information context) identified by the hDC member.
; |$CF_SCALABLEONLY - Specifies that ChooseFont should allow only the selection of scalable fonts.
; |$CF_SCREENFONTS - Causes the dialog box to list only the screen fonts supported by the system.
; |$CF_SCRIPTSONLY - Specifies that ChooseFont should allow selection of fonts for all non-OEM and Symbol character sets, as well as
; +the ANSI character set. This supersedes the $CF_ANSIONLY value.
; |$CF_SELECTSCRIPT - When specified on input, only fonts with the character set identified in the lfCharSet member of the LOGFONT
; +structure are displayed.
; |$CF_SHOWHELP - Causes the dialog box to display the Help button. The hwndOwner member must specify the window to receive the HELPMSGSTRING
; +registered messages that the dialog box sends when the user clicks the Help button.
; |$CF_USESTYLE - Specifies that the lpszStyle member is a pointer to a buffer that contains style data that ChooseFont should use to initialize
; +the Font Style combo box. When the user closes the dialog box, ChooseFont copies style data for the user's selection to this buffer.
; |$CF_WYSIWYG - Specifies that ChooseFont should allow only the selection of fonts available on both the printer and the display
; rgbColors - If the CF_EFFECTS flag is set, rgbColors specifies the initial text color
; CustData - Specifies application-defined data that the system passes to the hook procedure identified by the lpfnHook member
; fnHook - Pointer to a CFHookProc hook procedure that can process messages intended for the dialog box
; TemplateName - Pointer to a null-terminated string that names the dialog box template resource in the module
; +identified by the hInstance member
; hInstance - If the $CF_ENABLETEMPLATEHANDLE flag is set in the Flags member, hInstance is a handle to a memory
; +object containing a dialog box template. If the $CF_ENABLETEMPLATE flag is set, hInstance is a handle to a
; +module that contains a dialog box template named by the TemplateName member. If neither $CF_ENABLETEMPLATEHANDLE
; +nor $CF_ENABLETEMPLATE is set, this member is ignored.
; szStyle - Pointer to a buffer that contains style data
; FontType - Specifies the type of the selected font when ChooseFont returns. This member can be one or more of the following values.
; |$BOLD_FONTTYPE - The font weight is bold. This information is duplicated in the lfWeight member of the LOGFONT
; +structure and is equivalent to FW_BOLD.
; |$iItalic_FONTTYPE - The italic font attribute is set. This information is duplicated in the lfItalic member of the LOGFONT structure.
; |$PRINTER_FONTTYPE - The font is a printer font.
; |$REGULAR_FONTTYPE - The font weight is normal. This information is duplicated in the lfWeight member of the LOGFONT structure and is
; +equivalent to FW_REGULAR.
; |$SCREEN_FONTTYPE - The font is a screen font.
; |$SIMULATED_FONTTYPE - The font is simulated by the graphics device interface (GDI).
; SizeMin - Specifies the minimum point size a user can select
; SizeMax - Specifies the maximum point size a user can select
; Author ........: Gary Frost (gafrost)
; Remarks .......: |