Jump to content

DLGTEMPLATE

From EDM2
Revision as of 00:12, 15 April 2025 by Martini (talk | contribs) (Created page with "Dialog-template structure. == Type == struct == C Declaration Method == typedef == Example Code == <pre> typedef struct _DLGTEMPLATE { USHORT cbTemplate; Length of template.: USHORT type; Template format type.: USHORT codepage; Code page.: USHORT offadlgti; Offset to dialog items.: USHORT fsTemplateStatus; Template status.: USHORT iItemFocus; /*...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Dialog-template structure.

Type

struct

C Declaration Method

typedef

Example Code

typedef struct _DLGTEMPLATE {
  USHORT       cbTemplate;        /*  Length of template. */
  USHORT       type;              /*  Template format type. */
  USHORT       codepage;          /*  Code page. */
  USHORT       offadlgti;         /*  Offset to dialog items. */
  USHORT       fsTemplateStatus;  /*  Template status. */
  USHORT       iItemFocus;        /*  Index of item to receive focus initially. */
  USHORT       coffPresParams;    /*  Count of presentation-parameter offsets. */
  DLGTITEM     adlgti[1];         /*  Start of dialog items. */
} DLGTEMPLATE;

typedef   DLGTEMPLATE   * PDLGTEMPLATE ;