X11workbench Toolkit  1.0

Enumerations

enum  MessageBoxEnum {
  MessageBox_Error =0,
  MessageBox_Warning =1,
  MessageBox_Info =2,
  MessageBox_Asterisk =3,
  MessageBox_Question =4,
  MessageBox_BoldQuestion =5,
  MessageBox_WTF =6,
  MessageBox_Bang =7,
  MessageBox_Triangle =8,
  MessageBox_FaceOfDeath =9,
  MessageBox_JollyRoger =10,
  MessageBox_ThumbsUp =11,
  MessageBox_ThumbsDown =12,
  MessageBox_MiddleFinger =13,
  MessageBox_TeddyBear =14,
  MessageBox_Barney =15,
  MessageBox_App =16,
  MessageBox_ICON_MASK = 0x1f,
  MessageBox_Default = 0,
  MessageBox_OK = 0x20,
  MessageBox_Yes = 0x40,
  MessageBox_No = 0x80,
  MessageBox_Abort = 0x100,
  MessageBox_Retry = 0x200,
  MessageBox_Ignore = 0x400,
  MessageBox_Cancel = 0x800,
  MessageBox_OKCancel = 0x820,
  MessageBox_YesNo = 0xc0,
  MessageBox_YesNoCancel = 0x8c0,
  MessageBox_AbortRetry = 0x500,
  MessageBox_AbortRetryIgnore = 0x700,
  MessageBox_BUTTON_MASK = 0xfe0
}
 Message Box flag enumeration. More...
 
enum  FileDialogEnum {
  FileDialog_Open = 0,
  FileDialog_Save = 1,
  FileDialog_SaveAs = 2,
  FileDialog_Folder = 3,
  FileDialog_MASK = 0xf,
  FileDialog_ReadOnly = 0x10,
  FileDialog_NoOverwrite = 0x20,
  FileDialog_NoOverwritePrompt = 0x40,
  FileDialog_NoFolderNav = 0x80,
  FileDialog_Simple = 0x100,
  FileDialog_MODIFIER_MASK = 0xff0
}
 FileDialog enumeration. More...
 

Detailed Description

Data Types and Structures for the High Level Dialog Box API

Enumeration Type Documentation

◆ FileDialogEnum

FileDialog enumeration.

Enumeration of bit flags for DLGFileDialog()
Specify one of the 'Type Flag' bits, and any 'Modifier Bits' that apply

Enumerator
FileDialog_Open 

Type Flag - File Open Dialog.

FileDialog_Save 

Type Flag - File Save Dialog.

FileDialog_SaveAs 

Type Flag - File Save As Dialog.

FileDialog_Folder 

Type Flag - Folder Dialog.

FileDialog_MASK 

bit mask for type flag

FileDialog_ReadOnly 

Modifier Flag - Read Only.

FileDialog_NoOverwrite 

Modifier Flag - No Overwrite.

FileDialog_NoOverwritePrompt 

Modifier Flag - No 'Overwrite Prompt' if overwriting.

FileDialog_NoFolderNav 

Modifier Flag - No 'Folder Navigation'.

FileDialog_Simple 

Modifier Flag - simple 'file name input'.

FileDialog_MODIFIER_MASK 

bit mask for modifier flag

Definition at line 808 of file dialog_window.h.

◆ MessageBoxEnum

Message Box flag enumeration.

Use these bit-flags and masks for calls to DLGMessageBox()
You should 'or' one or more of the 'Button Bits' constants with one of the 'Icon' constants.

Legal combinations of 'or'd button bits include only the following:

  • MessageBox_OKCancel : MessageBox_OK | MessageBox_Cancel
  • MessageBox_YesNo : MessageBox_Yes | MessageBox_No
  • MessageBox_YesNoCancel : MessageBox_Yes | MessageBox_No | MessageBox_Cancel
  • MessageBox_AbortRetry : MessageBox_Abort | MessageBox_Retry
  • MessageBox_AbortRetryIgnore : MessageBox_Abort | MessageBox_Retry | MessageBox_Ignore
Enumerator
MessageBox_Error 

Icon - red stop sign.

MessageBox_Warning 

Icon - exclamation point on yellow triangle.

MessageBox_Info 

Icon - green circle.

MessageBox_Asterisk 

Icon - white asterisk on blue circle.

MessageBox_Question 

Icon - white question mark in green triangle.

MessageBox_BoldQuestion 

Icon - black question mark in yellow triangle.

MessageBox_WTF 

Icon - multiple question marks in red triangle.

MessageBox_Bang 

Icon - yellow circle with white exclamation point.

MessageBox_Triangle 

Icon - yellow triangle (nothing else)

MessageBox_FaceOfDeath 

Icon - white fright mask on black circle.

MessageBox_JollyRoger 

Icon - white skull and crossbones on black square.

MessageBox_ThumbsUp 

Icon - white thumb up on green square.

MessageBox_ThumbsDown 

Icon - white thumb down on red square.

MessageBox_MiddleFinger 

Icon - white 'middle finger' on red triangle.

MessageBox_TeddyBear 

Icon - brown and tan teddy bear on grey circle.

MessageBox_Barney 

Icon - purple T-Rex head on white circle (more like mozilla)

MessageBox_App 

Icon - application icon (from icon_app.xpm)

MessageBox_ICON_MASK 

mask for icon bits

MessageBox_Default 

Button Bits - default button (currently 'OK')

MessageBox_OK 

Button Bits - OK button.

MessageBox_Yes 

Button Bits - Yes button.

MessageBox_No 

Button Bits - No button.

MessageBox_Abort 

Button Bits - Abort button.

MessageBox_Retry 

Button Bits - Retry button.

MessageBox_Ignore 

Button Bits - Ignore button.

MessageBox_Cancel 

Button Bits - Cancel button.

MessageBox_OKCancel 

Button Bits - OK button plus Cancel button.

MessageBox_YesNo 

Button Bits - Yes button plus No button.

MessageBox_YesNoCancel 

Button Bits - Yes button plus No button and Cancel button.

MessageBox_AbortRetry 

Button Bits - Abort button plus Retry button.

MessageBox_AbortRetryIgnore 

Button Bits - Abort button plus Retry button and Ignore button.

MessageBox_BUTTON_MASK 

mask for button bits

Definition at line 718 of file dialog_window.h.