fl (ULONG)

      FNTS_* flags.

      FNTS_APPLYBUTTON

        An Apply push button is added to the dialog. This is useful in a modeless dialog.
      FNTS_BITMAPONLY
        The dialog presents bit-map fonts only. An application that changes fonts by using the presentation parameters (PP_* values) could use this flag.
      FNTS_CENTER
        The dialog is positioned in the center of its parent window, overriding any specified x,y position.
      FNTS_CUSTOM
        A custom dialog template is used to create the dialog. The hMod and usDlgId fields must be initialized.
      FNTS_FIXEDWIDTHONLY
        The dialog presents fixed-width (monospace) fonts only.
      FNTS_HELPBUTTON
        A Help push button of style (BS_HELP|BS_NOPOINTERFOCUS) with an ID of DID_HELP_BUTTON is added to the dialog. If the push button is pressed, a WM_HELP message is sent to the parameter of the WinFontDlg function call.
      FNTS_INITFROMFATTRS
        The dialog initializes itself from the font attribute structure (FATTRS) that is passed.
      FNTS_MODELESS
        The dialog is modeless; WinFontDlg returns immediately after creating the dialog window and returns the window handle to the application. The application should treat the dialog as if it were created with WinLoadDlg. As in the modal (default) dialog case, the return value is found in the lReturn field of the FONTDLG structure passed to WinFontDlg.
      FNTS_NOSYNTHESIZEDFONTS
        The dialog does not synthesize any fonts.
      FNTS_OWNERDRAWPREVIEW
        This flag makes the check boxes in the font dialog three-state check boxes, enabling the user to leave certain style attributes unchanged. Additionally, a WM_DRAWITEM message will be sent to the owner, providing the owner an opportunity to draw the preview window itself.
      FNTS_PROPORTIONALONLY
        The dialog presents proportionally spaced fonts only.
      FNTS_RESETBUTTON
        A Reset push button is added to the dialog. When this push button is pressed, the values for the dialog are restored to their initial values.
      FNTS_VECTORONLY
        The dialog presents vector fonts only.


      [Back] [Next]