X11 Work Bench Toolkit 1.0
Structure identifying the properties of a dialog box control. More...
|The value DIALOG_CONTROL_TAG. |
|Window ID of the dialog control window. |
|basic control class atom |
|pointer to owner dialog box |
|pointer to dialog box's WBDialogEntry |
|control's callback function |
|generic flag bits |
|foreground color |
|background color |
|border color |
|3D border color 2 (light) |
|3D border color 3 (dark) |
|highlighted state-based foreground color |
|highlighted state-based background color |
|active state-based foreground color |
|active state-based background color |
|allocated pointer to caption, in lieu of using a WM_NAME property (may be NULL) |
|pointer to the property list (may be NULL) |
|assigned at allocation time, the total size of this structure |
Structure identifying the properties of a dialog box control.
All dialog box controls have certain properties in common, and most of them also have a number of other common properties. Those properties most commonly used by dialog box controls are stored as members of a WBDialogControl structure and additional properties in an allocated WBDialogPropList (as needed)
For performance reasons, some control types may allocate a 'superclass' of this structure with additional data members.
This data structure identifies a dialog control's properties. For more information, see WBDialogControl . Typically, a dialog control will allocate a structure that is at LEAST the size of WBDialogControl. Additional private data can then be stored following the 'cbStructSize' member, which will identify the ACTUAL size of the structure.
For each dialog control, a pointer to this structure is assigned to window property index 0, and can be easily obtained using DLGGetDialogControlStruct() (preferred method)