Defaults to CF_SCREENFONTS if not specifed.
Possible flags are:
CF_BOTH - Causes the dialog box to list the available
printer and screen fonts.
CF_TTONLY - Specifies that DLLChooseFont 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_FIXEDPITCHONLY - Specifies that DLLChooseFont should
select only fixed-pitch fonts.
CF_FORCEFONTEXIST - Specifies that DLLChooseFont should
indicate an error condition if the user attempts to select a
font or style that does not exist.
CF_INITTOLOGFONTSTRUCT - Specifies that DLLChooseFont
should initialise the font requester with the values already
in the bank that you specified. This allows you to set default
face, weight, size and other attributes. This flag is not required
to set the initial colour of the font.
CF_LIMITSIZE - Required if you want the requester to
limit the size a font can be set to by the user. If this flag
is set, use the parameters iMinSize and iMaxSize
to limit the font size.
CF_NOOEMFONTS -Same as the CF_NOVECTORFONTS flag.
CF_NOFACESEL - When using CF_INITTOLOGFONTSTRUCT 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. This is useful when there is no single
font name that applies to the text selection.
CF_NOSCRIPTSEL - Disables the Script combo box. When
this flag is set, the FONT_ATTRIBUTES_CHARACTERSET attribute
of the font bank is set to DEFAULT_CHARSET when DLLChooseFont
returns. This flag is used only to initialize the dialog box.
CF_NOSTYLESEL - When using CF_INITTOLOGFONTSTRUCT 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. This is useful when there is no
single font style that applies to the text selection.
CF_NOSIZESEL - When using CF_INITTOLOGFONTSTRUCT 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. This is useful when there is no single
font size that applies to the text selection.
CF_NOSIMULATIONS - Specifies that DLLChooseFont should
not allow graphics device interface (GDI) font simulations.
CF_NOVECTORFONTS - Specifies that DLLChooseFont 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.
CF_SCALABLEONLY - Specifies that DLLChooseFont should
allow only the selection of scalable fonts. (Scalable fonts
include vector fonts, scalable printer fonts, TrueType fonts,
and fonts scaled by other technologies.)
CF_SCREENFONTS - Causes the dialog box to list only the
screen fonts supported by the system.
CF_SCRIPTSONLY - Specifies that DLLChooseFont should
allow selection of fonts for all non-OEM and Symbol character
sets, as well as the ANSI character set.
CF_SELECTSCRIPT - When specified on input, only fonts
with the character set specified by the attribute FONT_ATTRIBUTES_CHARACTERSET
in the font bank are displayed. The user will not be allowed
to change the character set specified in the Scripts combo box.
CF_WYSIWYG - Specifies that DLLChooseFont should allow
only the selection of fonts available on both the printer and
the display. If this flag is specified, the CF_BOTH and CF_SCALABLEONLY
flags should also be specified.
|