Type
Dialog item type. Can be one of the following values,
described in the "
Dialog items" topic.
X1,Y1,X2,Y2
Dialog item coordinates, calculated relative to the top left
dialog corner (coordinates start from 0,0).
For more information about coordinates see the description of a specific
dialog item.
Focus
Keyboard focus flag. You must specify one item with
Focus
equal to
TRUE.
Param.Reserved
Size of this members always equals the size of the Param union,
which allows to use this member for platform independent initialization.
Param.Selected
Applicable for
DI_CHECKBOX and
DI_RADIOBUTTON controls. Allows to
set their initial state and get their state after closing the dialog.
Param.History
Contains the address of a null-terminated text string that will be used as
the internal history name when an edit control has the
DIF_HISTORY
flag. If several edit controls have the same history name, they
will share the same history list.
Param.Mask
Contains the address of a
null-terminated string that serves as a mask for a
DI_FIXEDIT control.
Param.ListItems
Param.ListPos
Param.VBuf
Flags
DefaultButton
Define current item as the "default control".
If while pressing
<Enter> the focus is not set on a button,
the
Dialog function
(or
DialogEx)
will return the number of the item with
DefaultButton set to 1.
The
DefaultButton flag can be set not only for a button,
but for any other dialog item.
Data.Data
Data.Ptr.PtrFlags
Additional flags (not used in Dialog API 1.0).
Ptr.PtrFlags must be 0.
Data.Ptr.PtrLength
Length of the data pointed to by PtrData.
Data.Ptr.PtrData
Points to the user buffer for the edit data.
Data.Ptr.PtrTail
"Tail" - provides access to the remaining part of the Data member.