X11workbench Toolkit  1.0

Enumerations

enum  WBDialogWindowFlags {
  WBDialogWindow_APP_WINDOW = 1,
  WBDialogWindow_VISIBLE = 2,
  WBDialogWindow_DOMODAL = 4,
  WBDialogWindow_CENTERMOUSE = 8,
  WBDialogWindow_HRESIZE = 0x100,
  WBDialogWindow_VRESIZE = 0x200,
  WBDialogWindow_MAX = 0x80000000L
}
 enumeration for the iFlags member of WBDialogWindow More...
 
enum  WBDialogEntryFlags {
  WBDialogEntry_VISIBLE = 0x00000001,
  WBDialogEntry_EDIT = 0x00000002,
  WBDialogEntry_MULTILINE = 0x00000004,
  WBDialogEntry_ALLCHARS = 0x00000008,
  WBDialogEntry_TRISTATE = 0x00000010,
  WBDialogEntry_CHECKED = 0x00000020,
  WBDialogEntry_NO_BORDER = 0x00000040,
  WBDialogEntry_VA_TEXT_CENTER = 0x00000000,
  WBDialogEntry_VA_TEXT_TOP = 0x00000100,
  WBDialogEntry_VA_TEXT_BOTTOM = 0x00000200,
  WBDialogEntry_VA_TEXT_MASK = 0x00000300,
  WBDialogEntry_HA_TEXT_LEFT = 0x00000000,
  WBDialogEntry_HA_TEXT_CENTER = 0x00000400,
  WBDialogEntry_HA_TEXT_RIGHT = 0x00000800,
  WBDialogEntry_HA_TEXT_MASK = 0x00000c00,
  WBDialogEntry_ALIGN_TEXT_MASK = 0x00000f00,
  WBDialogEntry_HResize = 0x00040000,
  WBDialogEntry_VResize = 0x00080000,
  WBDialogEntry_ResizeMask = 0x000c0000,
  WBDialogEntry_VAlignFixed = 0x00000000,
  WBDialogEntry_VAlignTop = 0x00100000,
  WBDialogEntry_VAlignBottom = 0x00200000,
  WBDialogEntry_VAlignCenter = 0x00300000,
  WBDialogEntry_VAlignMask = 0x00300000,
  WBDialogEntry_HAlignFixed = 0x00000000,
  WBDialogEntry_HAlignLeft = 0x00400000,
  WBDialogEntry_HAlignRight = 0x00800000,
  WBDialogEntry_HAlignCenter = 0x00c00000,
  WBDialogEntry_HAlignMask = 0x00c00000,
  WBDialogEntry_AlignMask = 0x00f00000,
  WBDialogEntry_Reserved24 = 0x01000000,
  WBDialogEntry_Reserved25 = 0x02000000,
  WBDialogEntry_DISABLED = 0x04000000,
  WBDialogEntry_PRESSED = 0x08000000,
  WBDialogEntry_CAN_HAVE_FOCUS = 0x10000000,
  WBDialogEntry_HAS_FOCUS = 0x20000000,
  WBDialogEntry_PUSHBUTTON = 0x40000000,
  WBDialogEntry_DEFAULT = 0x80000000
}
 enumeration for the iFlags member of WBDialogEntry More...
 

Detailed Description

Definitions for Dialog (Frame) Windows

Enumeration Type Documentation

◆ WBDialogEntryFlags

enumeration for the iFlags member of WBDialogEntry

Enumerator
WBDialogEntry_VISIBLE 

visible item

WBDialogEntry_EDIT 

user-editable text

WBDialogEntry_MULTILINE 

for edit controls, prevents trapping <ENTER>

WBDialogEntry_ALLCHARS 

prevents trapping <ESC> <ENTER> and anything else

WBDialogEntry_TRISTATE 

'tri-stated' state (overrides 'checked' state)

WBDialogEntry_CHECKED 

'checked' state

WBDialogEntry_NO_BORDER 

'no border' flag (don't display a border - statics, typically)

WBDialogEntry_VA_TEXT_CENTER 

Vertically align text center (default)

WBDialogEntry_VA_TEXT_TOP 

Vertically align text top.

WBDialogEntry_VA_TEXT_BOTTOM 

Vertically align text bottom.

WBDialogEntry_VA_TEXT_MASK 

Vertical text alignment bits.

WBDialogEntry_HA_TEXT_LEFT 

Horizontally align text left (default)

WBDialogEntry_HA_TEXT_CENTER 

Horizontally align text center.

WBDialogEntry_HA_TEXT_RIGHT 

Horizontally align text right.

WBDialogEntry_HA_TEXT_MASK 

Horizontal text alignment bits.

WBDialogEntry_ALIGN_TEXT_MASK 

All text alignment bits.

WBDialogEntry_HResize 

dialog box flag, can be resized horizontally

WBDialogEntry_VResize 

dialog box flag, can be resized vertically

WBDialogEntry_ResizeMask 

resize mask for dialog box

WBDialogEntry_VAlignFixed 

default position re-alignment with respect to center (as a percentage, no stretching)

WBDialogEntry_VAlignTop 

resize maintains position/size with respect to top

WBDialogEntry_VAlignBottom 

resize maintains position/size with respect to bottom

WBDialogEntry_VAlignCenter 

re-alignment with respect to center (as a percentage, stretching allowed)

WBDialogEntry_VAlignMask 

vertical alignment mask

WBDialogEntry_HAlignFixed 

default position re-alignment with respect to center (as a percentage, no stretching)

WBDialogEntry_HAlignLeft 

resize maintains position/size with respect to left

WBDialogEntry_HAlignRight 

resize maintains position/size with respect to right

WBDialogEntry_HAlignCenter 

re-alignment with respect to center (as a percentage, stretching allowed)

WBDialogEntry_HAlignMask 

horizontal alignment mask

WBDialogEntry_AlignMask 

alignment mask (both horizontal and vertical)

WBDialogEntry_Reserved24 

reserved bit 24

WBDialogEntry_Reserved25 

reserved bit 25

WBDialogEntry_DISABLED 

causes the control to be drawn 'disabled' and NOT be selectable for focus

WBDialogEntry_PRESSED 

for pushbuttons, causes it to be drawn 'pressed'

WBDialogEntry_CAN_HAVE_FOCUS 

set when item CAN have focus.

WBDialogEntry_HAS_FOCUS 

set when item gets focus. cleared when no focus

WBDialogEntry_PUSHBUTTON 

set for 'pushbuttons' (which override 'default' for <ENTER>)

WBDialogEntry_DEFAULT 

set for "default" controls

Definition at line 325 of file dialog_window.h.

◆ WBDialogWindowFlags

enumeration for the iFlags member of WBDialogWindow

Enumerator
WBDialogWindow_APP_WINDOW 

Application Window flag.

set this flag for an application top-level dialog window so that whenver it is destroyed the application will exit

WBDialogWindow_VISIBLE 

Visibility flag.

set this to make the window immediately visible.

See also
WBDialogWindow_CENTERMOUSE, WBDialogWindow_DOMODAL
WBDialogWindow_DOMODAL 

Modality flag.

When this flag is set, the act of creating the dialog window will also call WBShowModal() automatically. Also implies WBDialogWindow_VISIBLE, WBDialogWindow_CENTERMOUSE

WBDialogWindow_CENTERMOUSE 

Auto-center mouse pointer.

When this flag is set, the act of creating the dialog window will center the mouse over the dialog box.
NOTE: This only works properly when WBDialogWindow_VISIBLE is ALSO set.

WBDialogWindow_HRESIZE 

Horizontal Resize flag.

When this flag is set, the dialog can be re-sized horizontally with the UI

WBDialogWindow_VRESIZE 

Vertical Resize flag.

When this flag is set, the dialog can be re-sized vertically with the UI

WBDialogWindow_MAX 

MAX flag (reserved)

Identifies the maximum value of assignable bit flags

Definition at line 277 of file dialog_window.h.