DLGTITEM: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
== Type == | == Type == | ||
struct | |||
== C Declaration Method == | == C Declaration Method == | ||
Latest revision as of 00:05, 15 April 2025
Dialog-item structure.
Type
struct
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 ;