Jump to content

DLGTITEM

From EDM2
Revision as of 00:03, 15 April 2025 by Martini (talk | contribs) (Created page with "Dialog-item structure. == Type == DLGTITEM == C Declaration Method == typedef == Example Code == <pre> typedef struct _DLGTITEM { USHORT fsItemStatus; Status.: USHORT cChildren; Count of children to this dialog item.: USHORT cchClassLen; Length of class name.: USHORT offClassName; Offset to class name.: USHORT cchTextLen; Length of text.: USHORT offText; Offset to text.: ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Dialog-item structure.

Type

DLGTITEM

C Declaration Method

typedef

Example Code

typedef struct _DLGTITEM {
  USHORT     fsItemStatus;   /*  Status. */
  USHORT     cChildren;      /*  Count of children to this dialog item. */
  USHORT     cchClassLen;    /*  Length of class name. */
  USHORT     offClassName;   /*  Offset to class name. */
  USHORT     cchTextLen;     /*  Length of text. */
  USHORT     offText;        /*  Offset to text. */
  ULONG      flStyle;        /*  Dialog item window style. */
  SHORT      x;              /*  X-coordinate of origin of dialog-item window. */
  SHORT      y;              /*  Y-coordinate of origin of dialog-item window. */
  SHORT      cx;             /*  Dialog-item window width. */
  SHORT      cy;             /*  Dialog-item window height. */
  USHORT     id;             /*  Identity. */
  USHORT     offPresParams;  /*  Reserved. */
  USHORT     offCtlData;     /*  Offset to control data. */
} DLGTITEM;

typedef   DLGTITEM   * PDLGTITEM ;