Font-dialog structure.

typedef struct _FONTDLG {
  ULONG       cbSize;             /*  Structure size. */
  HPS         hpsScreen;          /*  Screen presentation space. */
  HPS         hpsPrinter;         /*  Printer presentation space. */
  PSZ         pszTitle;           /*  Dialog title string. */
  PSZ         pszPreview;         /*  Font-preview window string. */
  PSZ         pszPtSizeList;      /*  Application-provided point size list. */
  PFNWP       pfnDlgProc;         /*  Custom dialog procedure. */
  PSZ         pszFamilyname;      /*  Family name buffer. */
  FIXED       fxPointSize;        /*  Point size of the font. */
  ULONG       fl;                 /*  FNTS_* flags. */
  ULONG       flFlags;            /*  FNTF_* flags. */
  ULONG       flType;             /*  The selected type bits. */
  ULONG       flTypeMask;         /*  Mask of type bits to use. */
  ULONG       flStyle;            /*  Selected style bits. */
  ULONG       flStyleMask;        /*  Mask of style bits to use. */
  LONG        clrFore;            /*  Font foreground color. */
  LONG        clrBack;            /*  Font background color. */
  ULONG       ulUser;             /*  Application-defined. */
  LONG        lReturn;            /*  Return value. */
  LONG        lSRC;               /*  System return code. */
  LONG        lEmHeight;          /*  Em height. */
  LONG        lXHeight;           /*  X height. */
  LONG        lExternalLeading;   /*  External leading. */
  HMODULE     hMod;               /*  Module for custom dialog resources. */
  FATTRS      fAttrs;             /*  Font-attribute structure. */
  SHORT       sNominalPointSize;  /*  Font point size. */
  USHORT      usWeight;           /*  Font weight. */
  USHORT      usWidth;            /*  Font width. */
  SHORT       x;                  /*  The x-axis dialog position. */
  SHORT       y;                  /*  The y-axis dialog position. */
  USHORT      usDlgId;            /*  Dialog ID. */
  USHORT      usFamilyBufLen;     /*  Buffersize. */
  USHORT      usReserved;         /*  Reserved. */
} FONTDLG;

typedef   FONTDLG   * PFONTDLG ;


[Back] [Next]