GuiLayoutHelper is the LayoutControl representing the overall layout for a dialog. More...
Classes | |
struct | StringArray |
Microstation StringArray Resource Type. More... | |
struct | DialogPositionRsc |
Dialog Box Position Extended Resource. More... | |
struct | WinopenViewTypeRsc |
Winopen viewtype resource. More... | |
struct | DialogItemSpec |
Item Specifier Structure. More... | |
struct | DialogItemRsc |
Dialog Item Resource. More... | |
struct | DialogBoxRsc |
Dialog Box Resource. More... | |
struct | DialogItemListRsc |
Dialog Item List Structure (just like list in dialogs) More... | |
struct | ItemListRsc |
Item List Structure (Only has list of type and ids) More... | |
struct | IdListRsc |
Id List Structure (Only has list of ids) More... | |
struct | CompositeIconRsc |
Composite Icon Resource. More... | |
struct | DItem_ButtonGroupItemRsc |
Button Group Item Resource. More... | |
struct | DItem_ButtonGroupRsc |
Button Group Resource. More... | |
struct | DItem_ColorChooserRsc |
Color Chooser Resource. More... | |
struct | DItem_ColorPickerRsc |
Color Picker Resource. More... | |
struct | DItem_LevelPickerRsc |
Level Picker Item Resource. More... | |
struct | DItem_ToolBoxRsc |
ToolBox Resource. More... | |
struct | DItem_GenericRsc |
Generic Dialog Item Resource. More... | |
struct | DItem_IconCmdRsc |
Icon Command Item Resource (not to be directly placed in dialog) More... | |
struct | DItem_IconCmdXRsc |
Extended Icon Command Item Resource (For use in dialogs or toolboxes) More... | |
struct | DItem_IconPopupRsc |
IconPopup dialog item resource. More... | |
struct | DItem_LabelRsc |
Label Dialog Item Resource Optional - used when linking to another item to get the Label or Minimum/Maximum for Layout Manager purposes. More... | |
struct | DItem_ListColumnRsc |
ListBox and ComboBox column resource. More... | |
struct | DItem_ListRsc |
ListBox dialog item resource. More... | |
struct | DItem_ComboBoxRsc |
ComboBoxBox dialog item resource. More... | |
struct | DItem_MenuBarItemRsc |
Menu Bar item resource. More... | |
struct | DItem_MenuBarRsc |
Menu Bar resource. More... | |
struct | DItem_MenuBarItemXRsc |
Extended Menu Bar item resource. More... | |
struct | DItem_MenuBarXRsc |
Extended Menu Bar resource. More... | |
struct | DItem_MultilineTextRsc |
Multiline dialog item resource. More... | |
struct | DItem_OptionButtonItemRsc |
Option Button Sub-Item Resource. More... | |
struct | DItem_OptionButtonRsc |
Option Button Dialog Item Resource. More... | |
struct | DItem_PopupMenuRsc |
PopupMenu Dialog Item Resource. More... | |
struct | DItem_PulldownMenuItemRsc |
Pulldown Menu Item Resource (must be used only inside menubars) More... | |
struct | DItem_PulldownMenuRsc |
Pulldown Menu Resource. More... | |
struct | DItem_PulldownIconMenuItemRsc |
Pulldown Menu Item supporting icons. More... | |
struct | DItem_PulldownIconMenuRsc |
Pulldown Menu supporting icons. More... | |
struct | DItem_PulldownOptionMenuRsc |
Pulldown Option Menu Resource. More... | |
struct | DItem_PushButtonRsc |
PushButton Dialog Item Resource. More... | |
struct | DItem_PushButtonXRsc |
Extended PushButton Dialog Item Resource (includes icon support) More... | |
struct | DItem_RadioButtonRsc |
RadioButton Dialog Item Resource. More... | |
struct | DItem_SashRsc |
Sash Dialog Item Resource. More... | |
struct | SashPositionRsc |
Sash Position Resource. More... | |
struct | DItem_ScaleRsc |
Sash Dialog Item Resource. More... | |
struct | DItem_ScrollBarRsc |
ScrollBar Dialog Item Resource. More... | |
struct | DItem_SpinBoxRsc |
SpinBox Dialog Item Resource. More... | |
struct | DItem_TabPageRsc |
TabPage Dialog Item Resource. More... | |
struct | DItem_TabPageListRsc |
TabPageList Dialog Item Resource. More... | |
struct | DItem_TextRsc |
TextBox Dialog Item Resource. More... | |
struct | DItem_ToggleButtonRsc |
ToggleButton Dialog Item Resource. More... | |
struct | DItem_ToggleIconRsc |
ToggleIcon Dialog Item Resource. More... | |
struct | DItem_ContainerRsc |
Container Dialog Item Resource. More... | |
struct | DItem_ContainerPanelRsc |
ContainerPanel Dialog Item Resource. More... | |
struct | DItem_TreeColumnRsc |
Tree Column Resource. More... | |
struct | DItem_TreeRsc |
Tree Dialog Item Resource. More... | |
struct | DItem_UpDownButtonsRsc |
UpDownButtons Dialog Item Resource. More... | |
struct | DItem_LevelListRsc |
Level List Dialog Item Resource. More... | |
struct | DItem_AspectRatioRsc |
Translation AspectRatio. More... | |
struct | WindowsFormKeyinRsc |
Windows Forms Open Keyin Resource. More... | |
struct | DialogInformationRsc |
Dialog Information Resource for DialogCensus information and reporting. More... | |
struct | DialogOpenInstructionsRsc |
struct | CmdItemListInformationRsc |
CmdItemList Information Resource for DialogCensus information and reporting. More... | |
struct | CmdItemListInstructionsRsc |
struct | DItem_WinFormsControlRsc |
WinFormsControl Dialog Item Resource. More... | |
struct | MarginsRsc |
Margin Resource used in the Layout resources. More... | |
struct | DockLayoutRsc |
DockLayout Resource used to specify layout margins and spacing. More... | |
struct | FlowLayoutRsc |
FlowLayout Resource used to specify layout margins and spacing. More... | |
struct | GridColumnRsc |
GridColumn Resource used to specify a stretch factor and Shared Size Group. More... | |
struct | GridLayoutRsc |
GridLayout Resource used to specify layout margins, spacing and column information. More... | |
struct | HStackLayoutRsc |
Horizontal StackLayout Resource used to specify layout margins and horizontal spacing. More... | |
struct | VStackLayoutRsc |
Vertical StackLayout Resource used to specify layout margins and vertical spacing. More... | |
struct | HSplitterLayoutRsc |
Horizontal SplitterLayout Resource used to specify layout margins. More... | |
struct | VSplitterLayoutRsc |
Vertical SplitterLayout Resource used to specify layout margins. More... | |
struct | CommandRsc |
Command Resource for XCommands - Cross - platform / Cross UI Technology commands. More... | |
struct | DItem_XCmdButtonRsc |
Command Item Button Resource supporting XCommands. More... | |
struct | SyncItemRsc |
SyncItem Resource. More... | |
struct | SyncGroupRsc |
SyncGroup Resource. More... | |
struct | GuiLayoutHelper |
struct | GuiLayoutControl |
GuiLayoutControl is the layout wrapper for a dialog item (control) in the dialog. More... | |
struct | GuiLayoutLabel |
GuiLayoutLabel is the layout wrapper for a Label dialog item in the dialog. More... | |
struct | GuiLayoutContainerPanel |
GuiLayoutContainerPanel is the layout wrapper for a ContainerPanel dialog item in the dialog. More... | |
struct | GuiLayoutTabPageList |
GuiLayoutTabPageList is the layout wrapper for a TabPageList dialog item in the dialog. More... | |
struct | GuiLayoutSeparator |
GuiLayoutSeparator is the layout wrapper for a Separator dialog item in the dialog. More... | |
struct | GuiSplitterHandle |
GuiSplitterHandle is the handle used in a SplitterLayout, which easily lays out a control on either side of a Sash dialog item. More... | |
struct | GuiLayoutProperties |
GuiLayoutProperties contains Dialog Layout Manager information attached to a RawItemHdr. More... | |
class | GuiLayoutSuspendBlock |
Class used to mark a GuiLayoutHelper suspend/resume block. More... | |
Macros | |
#define | DCOORD_RESOLUTION 12 /* # of dialog coords/font height */ |
#define | XC_DEFAULT (DCOORD_RESOLUTION/2) |
#define | YC_DEFAULT DCOORD_RESOLUTION |
#define | XC XC_DEFAULT |
#define | YC YC_DEFAULT |
#define | GAP 3 |
#define | GENY(row) ((row-1)*(YC+GAP) + YC/2) |
#define | BGAP 4 |
#define | BGENY(row) ((row-1)*(YC+BGAP) + YC/2) |
#define | D_GAP 5 |
#define | D_ROW(row) ((row-1)*(YC+D_GAP) + YC/2) |
#define | WIDTH_FILEOPENFILES_LISTBOX (14) |
#define | WIDTH_FILEOPENDIRS_LISTBOX (14) |
#define | WIDTH_FILELISTNAMES_LISTBOX (33) |
#define | WIDTH_FILELISTFILES_LISTBOX (14) |
#define | WIDTH_FILELISTDIRS_LISTBOX (14) |
#define | LISTBOX_DW (0) |
#define | LISTBOX_DW1_4 (LISTBOX_DW/4) |
#define | LISTBOX_DW1_2 (LISTBOX_DW/2) |
#define | LISTBOX_DW3_4 ((3*LISTBOX_DW)/4) |
#define | DIALOGATTR_DEFAULT 0 |
#define | DIALOGATTR_MODAL 0x00000001 |
#define | DIALOGATTR_GROWABLE 0x00000002 |
#define | DIALOGATTR_SINKABLE 0x00000004 |
#define | DIALOGATTR_UNMOVEABLE 0x00000008 /* internal use */ |
#define | DIALOGATTR_UNCLOSEABLE 0x00000010 |
#define | DIALOGATTR_NOAUTOSWITCH 0x00000020 |
#define | DIALOGATTR_CLOSEONNEW 0x00000040 |
#define | DIALOGATTR_ALWAYSSETSTATE 0x00000080 |
#define | DIALOGATTR_NORIGHTICONS 0x00000100 |
#define | DIALOGATTR_AUTOOPEN 0x00000200 /* internal use */ |
#define | DIALOGATTR_NOWINDOWCONTROLICON 0x00000400 /* do not use */ |
#define | DIALOGATTR_ALLOWNOTITLEBAR 0x00000800 /* do not use */ |
#define | DIALOGATTR_NOAUTOACTIVATE 0x00001000 |
#define | DIALOGATTR_NOSYNCHONNEW 0x00002000 |
#define | DIALOGATTR_HOOKSBEFOREDEFAULTS 0x00004000 /* internal use */ |
#define | DIALOGATTR_DONTDRAWBEVEL 0x00008000 |
#define | DIALOGATTR_DONTCAUSEAUTOSWITCH 0x00010000 /* only if dlog not focusable */ |
#define | DIALOGATTR_REQUESTBACKINGSTORE 0x00020000 /* Try to use backing store if supported */ |
#define | DIALOGATTR_AUTOUNLOADAPP 0x00040000 /* when dialog closed, unload its app */ |
#define | DIALOGATTR_NOAUTOFOCUS 0x00080000 /* when dialog opened don't get focus */ |
#define | DIALOGATTR_BOTHVIRTUAL 0x00100000 |
#define | DIALOGATTR_DOCKABLE 0x00200000 |
#define | DIALOGATTR_TITLEBARDOCKED 0x00400000 |
#define | DIALOGATTR_FORWARDMNEMONICS 0x00800000 |
#define | DIALOGATTR_MAXIMIZABLE 0x01000000 |
#define | DIALOGATTR_NOFULLDRAG 0x02000000 |
#define | DIALOGATTR_DATABASE 0x04000000 /* DataBase AuxHandler will be called */ |
#define | DIALOGATTR_REQUESTALTERNATERASTER 0x08000000 /* Try alt. drawing technique if supported */ |
#define | DIALOGATTR_MUSTSTAYVISIBLE 0x10000000 /* keep entire window visible */ |
#define | DIALOGATTR_THINBORDERS 0x20000000 /* appears as if docked */ |
#define | DIALOGATTR_RESIZESINWARD 0x40000000 |
#define | DIALOGATTR_MOTIONTOITEMS 0x80000000 /* items will receive motion/nomotion events */ |
#define | DIALOGATTRX_NOCHANGESCREEN 0x00000001 /* Disallow Change Screen when using 2 App Windows */ |
#define | DIALOGATTRX_NOITEMADJUSTMENTS 0x00000002 /* Don't adjust some of the items' x,y by -2 */ |
#define | DIALOGATTRX_SIZEGRIP 0x00000004 /* Draw the size grip in the dialog */ |
#define | DIALOGATTRX_NOICONCMDSYNCH 0x00000008 /* Dialog contains IconCmds, but no synching necessary */ |
#define | DIALOGATTRX_OUTPUTONLY 0x00000010 /* Dialog is for output only - does not get focus */ |
#define | DIALOGATTRX_NETDOCKABLE 0x00000020 /* Dialog is dockable within the .NET docking mechanism */ |
#define | DIALOGATTRX_NOMINIMIZEBOX 0x00000040 /* Minimize is disallowed */ |
#define | DIALOGATTRX_NOTRANSPARENCY 0x00000080 /* Transparency is disallowed */ |
#define | DIALOGATTRX_FOCUSABLENOCHECK 0x00000100 /* Focusable, regardless of focusable items */ |
#define | DIALOGATTRX_TRACKINGHELP 0x00000200 /* Use Tracking style help for this dialog */ |
#define | DIALOGATTRX_ALWAYSBORDEREDITEMS 0x00000400 /* Always draw the item borders, regardless of userpref borderless setting */ |
#define | DIALOGATTRX_TRANSPARENTBORDERLESS 0x00000800 /* This dialog is a transparent popup dialog */ |
#define | DIALOGATTRX_USEALPHABLEND 0x00001000 /* Use alpha blend - valid only when DIALOGATTRX_TRANSPARENTBORDERLESS is also true */ |
#define | DIALOGATTRX_NODOUBLEBUFFER 0x00002000 /* Double-buffering is disallowed for this dialog */ |
#define | DIALOGATTRX_AUTOUPDATETEXTITEMS 0x00004000 /* Auto-update text item state after keystrokes and a brief delay */ |
#define | DIALOGATTR_FILEOPENCOMMON (DIALOGATTR_MODAL | DIALOGATTR_ALWAYSSETSTATE | DIALOGATTR_HOOKSBEFOREDEFAULTS) |
#define | DIALOGATTR_TOOLBOXCOMMON |
#define | EXTATTR_DIALOGNAME 0 /* Name of the dialog for "set item" purposes and dialog docking ID. Spaces should not be included in this name. */ |
#define | EXTINTATTR_DLOGATTRS 0 /* any extended dialog attributes - DIALOGATTRX_XXX */ |
#define | EXTWATTR_DIALOGNAME 0 /* Name of the dialog for "set item" purposes and dialog docking ID. Spaces should not be included in this name. */ |
#define | MCMD 0 |
#define | LCMD 1 |
#define | MHELP 0x0 |
#define | LHELP 0x1 |
#define | HELPCMD 0x2 |
#define | HELPTOPIC 0x0 |
#define | MHELPTOPIC (MHELP | HELPTOPIC) |
#define | MHELPCMD (MHELP | HELPCMD) |
#define | LHELPTOPIC (LHELP | HELPTOPIC) |
#define | LHELPCMD (LHELP | HELPCMD) |
#define | OTASKID "" |
#define | MTASKID "+" |
#define | OTASKIDW L"" |
#define | MTASKIDW L"+" |
#define | OHELPTASKIDCMD "" |
#define | OHELPTASKIDTOPIC "*" |
#define | MHELPTASKIDCMD "+" |
#define | MHELPTASKIDTOPIC "+*" |
#define | LOOKUP 1 |
#define | NOLOOKUP 0 |
#define | INVERT 1 |
#define | NOINVERT 0 |
#define | NOCMD 0 |
#define | NOMASK 0xFFFFFFFF |
#define | NOSYNONYM 0 |
#define | NOHELP 0 |
#define | NOHOOK 0 |
#define | NOARG 0 |
#define | NOID 0 |
#define | NOSORT -1 |
#define | NOSUBMENU 0 |
#define | NOSUBMENUID 0 |
#define | NOMARK 0 |
#define | NOACCEL 0 |
#define | NOPARENTID 0 |
#define | NOTYPE 0 |
#define | NOICON 0 |
#define | MENU_SEPARATOR "-" |
#define | MENU_PLACEMARK "^" |
#define | DISABLED 0x0 /* same as OFF */ |
#define | ENABLED 0x1 /* same as ON */ |
#define | HIDDEN 0x2 |
#define | ALIGN_LEFT 0x00 |
#define | ALIGN_RIGHT 0x20 |
#define | ALIGN_CENTER 0x40 |
#define | ALIGN_PARENT 0x80 |
#define | ALIGN_MASK 0xE0 |
#define | BUTTON_STDWIDTH (8*XC) |
#define | BUTTON_LARGEWIDTH (BUTTON_STDWIDTH+4*XC) |
#define | BUTTON_LARGEHEIGHT (2.0*YC) |
#define | LABEL_WORDWRAP 0x00002000 |
#define | LABEL_FONT_BOLD 0x00004000 /* Only used in label items */ |
#define | LABEL_LINKPREV 0x00008000 /* Get label from previous item - used with Layout Manager */ |
#define | LABEL_LINKNEXT 0x00010000 /* Get label from next item - used with Layout Manager */ |
#define | LABEL_LINKMIN 0x00020000 /* Get minimum label from Scale - used in conjunction with PREV or NEXT */ |
#define | LABEL_LINKMAX 0x00040000 /* Get minimum label from Scale - used in conjunction with PREV or NEXT */ |
#define | LABEL_CANBEEMPTY 0x00080000 /* Used with the Layout Manager for empty rows/cells */ |
#define | TEXT_FORMAT_SIZE 16 |
#define | TEXT_MINMAX_SIZE 16 |
#define | TEXT_MASK_LABELABOVE 1 |
#define | SCROLL_ARROW_UP 0 |
#define | SCROLL_ARROW_DOWN 1 |
#define | SCROLL_ARROW_LEFT 2 |
#define | SCROLL_ARROW_RIGHT 3 |
#define | DEFAULT_BUTTON 0x01 |
#define | NOT_DEFAULT_BUTTON 0x00 |
#define | CANCEL_BUTTON 0x02 |
#define | FORMAT_MONOBITMAP 0 |
#define | ICONFORMAT_MONO FORMAT_MONOBITMAP |
#define | ICONFORMAT_FIXEDCOLORS 1 |
#define | ICONFORMAT_WINDOWSBMP 4 |
#define | ICONFORMAT_WINDOWSICO 5 |
#define | ICONFORMAT_WINDOWS 6 |
#define | ICONFORMAT_COMPOSITE 7 |
#define | NOICONID 0 |
#define | SORTED_ASCENDING 1 |
#define | SORTED_DESCENDING 2 |
#define | NOCONCAT 0x0 |
#define | CONCAT 0x1 |
#define | NOECHO 0x2 |
#define | READONLY 0x4 |
#define | DIALOGPOSATTR_AUTOOPEN 0x8000 |
#define | DIALOGPOSATTR_MINIMIZED 0x2000 |
#define | DIALOGPOSATTR_DISABLED 0x1000 |
#define | DIALOGPOSATTR_MAXIMIZED 0x0100 |
#define | DIALOGPOSATTR_NAMEDTOOLBOX 0x0200 |
#define | DIALOGPOSATTR_AUTOOPENDEFERRED 0x0400 |
#define | ICON_SIZE_TINY 16 |
#define | ICON_SIZE_SMALL 24 |
#define | ICON_SIZE_LARGE 32 |
#define | ICONCMDATTR_DONTSINGLESHOT 0x01 |
#define | ICONCMDATTR_DONTAUTOSELECT 0x02 |
#define | ICONCMDATTR_NODOWNTRIANGLE 0x04 /* Never draw slamdown/toolsettings indicator */ |
#define | ICONCMDATTR_NOCOMMANDSTR 0x08 |
#define | BGROUPATTR_NODRAWBORDER 0x1 |
Button Group Attributes. More... | |
#define | BGROUPATTR_HIGHLIGHTINVERT 0x2 |
#define | BGROUPATTR_MULTISELECTION 0x4 |
#define | BGROUPATTR_SPRINGLOADED 0x8 /* ignored if multi-selection */ |
#define | BGROUPITEMATTR_HALIGNCENTER 0x00 |
#define | BGROUPITEMATTR_HALIGNLEFT 0x01 |
#define | BGROUPITEMATTR_HALIGNRIGHT 0x02 |
#define | BGROUPITEMATTR_VALIGNCENTER 0x00 |
#define | BGROUPITEMATTR_VALIGNLEFT 0x04 |
#define | BGROUPITEMATTR_VALIGNRIGHT 0x08 |
#define | BGROUPITEMATTR_DISABLED 0x10 |
#define | BGROUPITEMATTR_GREYED 0x20 |
#define | CMPLBAR_Width (55 * XC) |
#define | CMPLBAR_Height (5 * YC + 4) |
#define | CMPLBAR_Generic_Height (YC + 10) |
#define | TOOLBOXATTR_SEPARATORATEND 0x00000001 |
ToolBox Attributes. More... | |
#define | TOOLBOXATTR_DONTADDOPENCMD 0x00000002 |
#define | TOOLBOXATTR_DONTSHOWINTOOLBOXLIST 0x00000004 |
#define | TOOLBOXATTR_NORIGHTCLICKMENU 0x00000008 /* Don't show a menu on button right-click */ |
#define | TOOLBOXATTR_INDEPENDENT 0x00000010 /* MSDialog size not tied to size of ToolBox - can be positioned within a MSDialog */ |
#define | GROUPBOXATTR_DRAWOVERLAPPING 0x20 /* redraw overlapping items */ |
GroupBox Dialog Item. More... | |
#define | GROUPBOXATTR_BAR 0x40 /* Draw as only a bar */ |
#define | ICONPOPUPATTR_CONNECTED 0x00000001 |
IconPopup dialog item attributes. More... | |
#define | ICONPOPUPATTR_PADCORNER 0x00000002 |
#define | ICONPOPUPATTR_NOTOGGLE 0x00000004 |
#define | ICONPOPUPATTR_PADBOTTOM 0x00000008 |
#define | ICONPOPUPATTR_NOLABEL 0x00000010 |
#define | ICONPOPUPATTR_NORESTOREFOCUS 0x00000020 |
#define | ICONPOPUPATTR_ALWAYSBORDERED 0x00000040 |
#define | ICONPOPUPATTR_LABELLEFT 0x00000080 |
#define | ICONPOPUPATTR_LABELRIGHT 0x00000100 |
#define | ICONPOPUPATTR_TEXTSIZE 0x00000200 |
#define | ICONPOPUPATTR_NODISABLEICON 0x00000400 |
#define | ICONPOPUPATTR_LABELONSIDE 0x00000800 |
#define | ICONPOPUPATTR_MUTABLE 0x00001000 |
#define | ICONPOPUPATTR_VERTICAL 0x00002000 |
#define | ICONPOPUPATTR_LABELVERTICAL 0x00004000 |
#define | ICONPOPUPATTR_CMDSELECTIONS 0x00008000 |
#define | ICONPOPUPATTR_COMPRESSEDARROW 0x00010000 |
#define | ICONPOPUPATTR_AUTOCLOSE 0x00020000 |
#define | ICONPOPUPATTR_DONTDRAWICON 0x00040000 |
#define | LISTATTR_LABELONSIDE 0x00000001 /* not above */ |
ListBox Dialog Item Attributes. More... | |
#define | LISTATTR_NEVERSELECTION 0x00000002 /* can never have any selection */ |
#define | LISTATTR_RANGESELECTION 0x00000004 /* obsolete */ |
#define | LISTATTR_DRAGSELECTION 0x00000004 /* can select by dragging */ |
#define | LISTATTR_DISJOINTSELECTION 0x00000008 /* not contiguous */ |
#define | LISTATTR_NOSELECTION 0x00000010 /* can have nothing selected */ |
#define | LISTATTR_INDEPENDENTCOLS 0x00000020 /* columns can be individually selected */ |
#define | LISTATTR_NOKEYSEARCH 0x00000040 /* no search upon key press */ |
#define | LISTATTR_FIXEDFONT 0x00000080 /* use fixed width font */ |
#define | LISTATTR_DYNAMICSCROLL 0x00000100 /* scroll as slider moves */ |
#define | LISTATTR_COLOREDROWS 0x00000200 /* if using StrList, nInfoFields must be >= 2 */ |
#define | LISTATTR_SINGLENODRAG 0x00000400 /* do not use, internal use only */ |
#define | LISTATTR_KEYCANTOGGLEMODE 0x00000800 /* can toggle between normal/add mode */ |
#define | LISTATTR_KEYDEFAULTADDMODE 0x00001000 /* default mode is add mode */ |
#define | LISTATTR_DRAWLOCATIONCURSOR 0x00002000 /* in browse mode, draw cursor */ |
#define | LISTATTR_DRAWOVERLAPPING 0x00004000 /* draw overlapping items */ |
#define | LISTATTR_DRAWPREFIXICON 0x00008000 /* draw icon preceding text */ |
#define | LISTATTR_TOOLFONTHEIGHT 0x00010000 /* force font height = tool size */ |
#define | LISTATTR_TRACKSCREENCOORD 0x00020000 /* allow real (not col,row) cursor tracking */ |
#define | LISTATTR_FONTBYCOLUMN 0x00040000 /* specify list box font (bold or regular) on a column basis */ |
#define | LISTATTR_COLHEADINGBORDERS 0x00080000 /* Draw borders around the column headings */ |
#define | LISTATTR_RESIZABLECOLUMNS (0x00100000 | LISTATTR_COLHEADINGBORDERS) |
#define | LISTATTR_SEPARATORS 0x00200000 /* Allow '-' to signify separator */ |
#define | LISTATTR_DLOGBGCOLOR 0x00400000 /* Use DLOGBACKGROUND color instead of BACKGROUND */ |
#define | LISTATTR_HORIZSCROLLBAR 0x00800000 /* Display horizontal scroll bar if needed */ |
#define | LISTATTR_SORTCOLUMNS 0x01000000 /* Sort columns when headings clicked */ |
#define | LISTATTR_SAVECOLUMNINFO 0x02000000 /* Save column positions and sort info */ |
#define | LISTATTR_NOTRAVERSAL 0x04000000 /* Don't draw traversal rectangle */ |
#define | LISTATTR_EDITABLE 0x08000000 /* Editable cells */ |
#define | LISTATTR_GRID 0x10000000 /* Draw grid around cells */ |
#define | LISTATTR_NEWCOLHEADORIGIN 0x20000000 /* Column heading origin is listbox origin */ |
#define | LISTATTR_NOELLIPSES 0x40000000 /* Columns will not show ellipses when truncated. */ |
#define | LISTATTR_RIGHTCLICKSTOHOOK 0x80000000 /* Send right button clicks to hook */ |
#define | LISTATTRX_FOCUSOUTLOOK 0x00000001 /* Selected cells use different colors when !hasFocus */ |
#define | LISTATTRX_HIGHLIGHTTEXT 0x00000002 /* Highlight the text only, not entire row (ListModel use only) */ |
#define | LISTATTRX_HEIGHTFORICONS 0x00000004 /* Change row height to accomodate tallest icon */ |
#define | LISTATTRX_USEICONRSCFORSTRINGLIST 0x00000008 /* When setting info field for icon id, use the icon resource pointer instead */ |
#define | LISTATTRX_REORDERCOLUMNS 0x00000010 /* Columns may be reordered by user */ |
#define | LISTATTRX_USERRESIZELASTCOL 0x00000020 /* The last column may be resized by the user - no auto-sizing */ |
#define | LISTATTRX_COLHEADINGMENU 0x00000040 /* Right-clicking on the column heading will display show/hide menu */ |
#define | LISTATTRX_DROPBETWEENROWS 0x00000080 /* Drop target is between ListBox rows */ |
#define | LISTATTRX_WAITFORDBLCLK 0x00000100 /* StateChanged is only sent once when double-clicking; wait for timeout on single-click */ |
#define | LISTATTRX_OUTLINESELECTION 0x00000200 /* Draw rectangle around selected row */ |
#define | LISTATTRX_DRAWNOSIDES 0x00000400 /* Do not draw the sides - useful when ListBox stretches across the entire dialog */ |
#define | LISTATTRX_DRAWNOBOTTOM 0x00000800 /* Do not draw the bottom - useful when ListBox stretches to bottom of dialog */ |
#define | LISTATTR_SELBROWSE 0x0 |
#define | LISTATTR_SELSINGLE (LISTATTR_NOSELECTION | LISTATTR_SINGLENODRAG | LISTATTR_KEYDEFAULTADDMODE) |
#define | LISTATTR_SELMULTI (LISTATTR_DISJOINTSELECTION | LISTATTR_NOSELECTION | LISTATTR_KEYDEFAULTADDMODE) |
#define | LISTATTR_SELEXTENDED (LISTATTR_DISJOINTSELECTION | LISTATTR_NOSELECTION | LISTATTR_DRAGSELECTION | LISTATTR_KEYCANTOGGLEMODE ) |
#define | LISTCOLATTR_NOSORT 0x00001000 /* Used w/ LISTATTR_SORTCOLUMNS ... This column is not sortable */ |
#define | LISTCOLATTR_NOEDIT 0x00002000 /* Used w/ LISTATTR_EDITABLE ... This column is not editable */ |
#define | LISTCOLATTR_EDITABLE 0x00004000 /* This column is editable, regardless of LISTATTR_EDITABLE */ |
#define | LISTCOLATTR_NOHIGHLIGHT 0x00008000 /* This column is not hilightable */ |
#define | LISTCOLATTR_NEVERSHOW 0x00010000 /* Never show this column (HIDDEN is a temporary state) */ |
#define | LISTCOLATTR_NODISPLAYLABEL 0x00020000 /* Don't display the label - useful when display icons in heading */ |
#define | COMBOATTR_READONLY 0x00000001 |
ComboBoxBox dialog item attributes. More... | |
#define | COMBOATTR_SORT 0x00000002 |
#define | COMBOATTR_DRAWPREFIXICON 0x00000004 |
#define | COMBOATTR_INDEXISVALUE 0x00000008 |
#define | COMBOATTR_AUTOADDNEWSTRINGS 0x00000010 |
#define | COMBOATTR_LABELABOVE 0x00000020 |
#define | COMBOATTR_DISPLAYALLCOLUMNS 0x00000040 |
#define | COMBOATTR_USEMODELVALUE 0x00000080 |
#define | COMBOATTR_NOKEYSEARCH 0x00000100 |
#define | COMBOATTR_NODISABLEICON 0x00000200 |
#define | COMBOATTR_NOHORIZSCROLLBAR 0x00000400 |
#define | COMBOATTR_FONTBYCOLUMN 0x00000800 |
#define | COMBOATTR_COLOREDROWS 0x00001000 |
#define | COMBOATTR_HIGHLIGHTTEXT 0x00002000 |
#define | COMBOATTR_FULLWIDTH 0x00004000 |
#define | COMBOATTR_CELLFONTINBOX (0x00008000 | COMBOATTR_FONTBYCOLUMN) |
#define | COMBOATTR_LABELINSIDE 0x00010000 |
#define | COMBOATTR_TREE 0x00020000 |
#define | COMBOATTR_TREEPARENTSELECTABLE 0x00040000 |
#define | MENUBARATTR_TALL 0x00000001 |
Menu Bar dialog item attributes. More... | |
#define | MLTEXTATTR_READONLY 0x0001 |
Multiline dialog item attributes. More... | |
#define | MLTEXTATTR_NODISPLAYNLCHAR 0x0002 |
#define | MLTEXTATTR_AUTOHIDEDECOR 0x0004 |
#define | MLTEXTATTR_ALWAYSBEVELED 0x0008 |
#define | MLTEXTATTR_NOWRAP 0x0010 |
#define | MLTEXTATTR_FIXEDFONT 0x0020 |
#define | MLTEXTATTR_READONLYCOPY 0x0040 |
#define | MLTEXTATTR_DYNAMICSCROLL 0x0080 |
#define | MLTEXTATTR_SBARINWIDTH 0x0100 |
#define | MLTEXTATTR_MESSAGEFONT 0x0200 |
#define | MLTEXTATTR_KEEPSELECTIONONFOCUS 0x0400 |
#define | OPTNBTNATTR_DONTADDBUMPWIDTH 0x00002000 |
Option Button Dialog Item Attributes. More... | |
#define | OPTNBTNATTR_NEWSTYLE 0x00004000 |
#define | OPTNBTNATTR_LABELABOVE 0x00008000 |
#define | OPTNBTNATTR_DONTDRAWMNEMONIC 0x00010000 |
#define | OPTNBTNATTR_ICONANDTEXT 0x00020000 |
#define | OPTNBTNATTR_ICONRIGHT 0x00040000 |
#define | POPUPMENUATTR_NOSAVEBITS 0x00000001 |
PopupMenu Dialog Item Attributes. More... | |
#define | PBUTATTR_ALIGNCENTER 0x00 |
PushButton Dialog Item Attributes. More... | |
#define | PBUTATTR_ALIGNLEFT 0x04 |
#define | PBUTATTR_ALIGNRIGHT 0x08 |
#define | PBUTATTR_ALIGNMASK 0x0c |
#define | PBUTATTR_ICONRIGHT 0x10 |
#define | PBUTATTR_ICONALIGNMASK 0x10 |
#define | PBUTATTR_DYNAMICBORDER 0x20 |
#define | PBUTATTR_THINBORDER 0x40 |
#define | PBUTATTR_DIALOGWIDTH 0x80 |
#define | SASHATTR_VERTICAL 0x00000001 |
Sash Dialog Item Attributes. More... | |
#define | SASHATTR_ALLGRAB 0x00000002 |
#define | SASHATTR_WIDE 0x00000004 |
#define | SASHATTR_SOLIDTRACK 0x00000008 |
#define | SASHATTR_SAVEPOSITION 0x00000010 |
#define | SASHATTR_NOENDS 0x00000020 |
#define | SASHATTR_SMOOTHMOVE 0x00000040 |
#define | SASHATTR_CLEAR 0x00000080 |
#define | SASHATTR_MOVEHANDLE 0x00000100 |
#define | SASHATTR_EXTENDLEFTTOP 0x00000200 |
#define | SASHATTR_EXTENDRIGHTBOTTOM 0x00000400 |
#define | SCALE_SHOWVALUE 0x1 |
Sash Dialog Item Attributes. More... | |
#define | SCALE_HASARROWS 0x2 |
#define | SCALE_LIMITSONSIDE 0x4 |
#define | SCALE_VALUEINTHUMB 0x8 |
#define | SEPARATOR_VERTICAL 0x01 |
Separator Dialog Item Attributes Include in the itemArg value in the DialogItemRsc. More... | |
#define | SEPARATOR_HORIZONTAL 0x02 |
#define | SEPARATOR_DIRMASK 0x03 |
#define | SEPARATOR_LABEL 0x04 |
#define | SEPARATOR_INDENTENDS 0x08 |
#define | SEPARATOR_INDENTLARGE 0x10 |
#define | SEPARATOR_DIALOGSIZE 0x20 |
#define | SEPARATOR_DIALOGTOPLEFT 0x40 |
#define | SEPARATOR_SIZEPREV 0x80 |
#define | SEPARATOR_FLOWLAYOUT (SEPARATOR_VERTICAL | SEPARATOR_INDENTENDS | SEPARATOR_SIZEPREV) |
Useful when a vertical Separator is in a FlowLayout. More... | |
#define | SEPARATOR_HTOOLSETTINGS (SEPARATOR_HORIZONTAL | SEPARATOR_INDENTLARGE | SEPARATOR_DIALOGSIZE) |
Useful when a horizontal Separator is in the Tool Settings. More... | |
#define | SEPARATOR_HWITHBUTTONS (SEPARATOR_HORIZONTAL | SEPARATOR_INDENTLARGE | SEPARATOR_DIALOGTOPLEFT) |
#define | SPINATTR_LABELABOVE 0x0001 /* Put label above text field */ |
Separator Dialog Item Resource. More... | |
#define | TABATTR_DEFAULT 0x00000000 |
TabPage Dialog Item Attributes. More... | |
#define | TABATTR_TABSBOTTOM 0x00000001 |
#define | TABATTR_TABSLEFT 0x00000002 |
#define | TABATTR_TABSRIGHT 0x00000004 |
#define | TABATTR_MULTIROW 0x00000008 |
#define | TABATTR_TABSFITPAGEWIDTH 0x00000010 |
#define | TABATTR_TABSFIXEDWIDTH 0x00000020 |
#define | TABATTR_LABELLEFTJUSTIFY 0x00000040 |
#define | TABATTR_LABELRIGHTJUSTIFY 0x00000080 |
#define | TABATTR_ICONLEFTJUSTIFY 0x00000100 |
#define | TABATTR_ICONRIGHTJUSTIFY 0x00000200 |
#define | TABATTR_TABSSHORT 0x00000400 |
#define | TABATTR_TABSTALL 0x00000800 |
#define | TABATTR_RELATIVEPOSITIONS 0x00001000 |
#define | TABATTR_SHOWHIDEMENU 0x00002000 |
#define | TABATTR_MINSIZEFROMSELECTED 0x00004000 |
#define | TEXT_NOCONCAT 0x00000000 |
TextBox Dialog Item Attributes. More... | |
#define | TEXT_CONCAT 0x00000001 |
#define | TEXT_NOECHO 0x00000002 |
#define | TEXT_READONLY 0x00000004 |
#define | TEXT_NORESETONERROR 0x00000008 |
#define | TEXT_ABBREVFILENAME 0x00000014 |
#define | TEXT_READONLYCOPY 0x00000024 |
#define | TEXT_ALWAYSBEVELED 0x00000040 |
#define | TEXT_LABELINSIDE 0x00000080 |
#define | TEXT_PASSWORD 0x00000100 |
#define | TEXT_AUTOUPDATE 0x00000200 |
#define | TOGGLEICONATTR_ALLOWSINGLESHOT 0x00000001 |
ToggleIcon Dialog Item Attributes. More... | |
#define | CONTAINERATTR_NODILISTID 0x00000001 /* Don't use diListId - app will use Container API to set DialogItemListRsc */ |
Container Dialog Item Attributes. More... | |
#define | CONTAINERATTR_AUTOCLOSE 0x00000002 /* Auto-close on mouse exit */ |
#define | CTPANELATTR_BOUNDINGBOX 0x00000001 /* Draw box around panel */ |
ContainerPanel Dialog Item Attributes. More... | |
#define | TREEATTR_NOSHOWROOT 0x00000001 /* Don't display root node */ |
Tree Dialog Item Attributes. More... | |
#define | TREEATTR_NOROOTHANDLE 0x00000002 /* Don't display root node handle */ |
#define | TREEATTR_NOHANDLES 0x00000004 /* Don't show expansion symbols */ |
#define | TREEATTR_NOLINES 0x00000008 /* Don't show lines linking nodes */ |
#define | TREEATTR_NOICONS 0x00000010 /* Don't draw icons */ |
#define | TREEATTR_NOAUTOSCROLL 0x00000020 /* Don't auto scroll tree on row expansion */ |
#define | TREEATTR_NOKEYSEARCH 0x00000040 /* Don't search upon key press */ |
#define | TREEATTR_MULTISELECTION 0x00000080 /* can select multiple nodes */ |
#define | TREEATTR_DRAGSELECTION 0x00000100 /* can select by dragging */ |
#define | TREEATTR_EXTENDEDSELECTION 0x00000200 /* can select by Ctrl-click & Shift-click */ |
#define | TREEATTR_LINESDOTTED 0x00000400 /* display dotted lines linking nodes */ |
#define | TREEATTR_LINESDIM 0x00000800 /* dim the solid or dotted lines */ |
#define | TREEATTR_LABELONSIDE 0x00001000 /* label on side, not above */ |
#define | TREEATTR_INDEPENDENTCOLS 0x00004000 /* columns can be individually selected */ |
#define | TREEATTR_DYNAMICSCROLL 0x00008000 /* scroll as slider moves */ |
#define | TREEATTR_COLHEADINGBORDERS 0x00010000 /* Draw borders around the column headings */ |
#define | TREEATTR_RESIZABLECOLUMNS (0x00020000|TREEATTR_COLHEADINGBORDERS) |
#define | TREEATTR_SEPARATORS 0x00040000 /* Allow '-' to signify separator */ |
#define | TREEATTR_DLOGBGCOLOR 0x00080000 /* Use DLOGBACKGROUND color instead of BACKGROUND */ |
#define | TREEATTR_HORIZSCROLLBAR 0x00100000 /* Display horizontal scroll bar if needed */ |
#define | TREEATTR_SAVECOLUMNINFO 0x00200000 /* Save column positions and sort info */ |
#define | TREEATTR_EDITABLE 0x00400000 /* Editable cells */ |
#define | TREEATTR_GRID 0x00800000 /* Draw grid around cells */ |
#define | TREEATTR_TRAVERSAL 0x01000000 /* Draw overall traversal rectangle */ |
#define | TREEATTR_HIGHLIGHTROW 0x02000000 /* Highlight entire row */ |
#define | TREEATTR_DOUBLECLICKEXPANDS 0x04000000 /* Double-clicking a row expands/collapses it */ |
#define | TREEATTR_RIGHTCLICKSTOHOOK 0x08000000 /* Send right button clicks to hook */ |
#define | TREEATTR_FOCUSOUTLOOK 0x10000000 /* Selected items use different colors when !hasFocus */ |
#define | TREEATTR_DROPWHOLEITEM 0x20000000 /* Drop target is whole item as opposed to on parent nodes */ |
#define | TREEATTR_DROPBETWEENROWS 0x40000000 /* Drop target is between displayable rows */ |
#define | TREEATTR_NOELLIPSES 0x80000000 /* Columns will not show ellipses when truncated. */ |
#define | TREECOLATTR_NOEDIT 0x00000100 /* Used w/ TREEATTR_EDITABLE ... This column is not editable */ |
#define | TREECOLATTR_EDITABLE 0x00000200 /* This column is editable, regardless of TREEATTR_EDITABLE */ |
#define | TREECOLATTR_NODISPLAYLABEL 0x00000400 /* Don't display the label - useful when display icons in heading */ |
#define | UPDNATTR_INVERT 0x0001 |
UpDownButtons Dialog Item Attributes. More... | |
#define | UPDNATTR_VERTICAL 0x0002 |
#define | UPDNATTR_HORIZONTAL 0x0004 |
#define | UPDNATTR_DIRMASK 0x0006 |
#define | LEVLISTATTR_MASTERFILE 0x0001 |
Level List Dialog Item Attributes. More... | |
#define | LEVLISTATTR_REFERENCEFILES 0x0002 |
#define | LEVLISTATTR_ALLFILES 0x0003 |
#define | LEVLISTATTR_SHOWDESCR 0x0004 |
#define | LEVLISTATTR_SHOWFILE 0x0008 |
#define | LEVLISTATTR_SHOWUSED 0x0010 |
#define | LEVLISTATTR_SHOWEXTERNAL 0x0020 |
#define | LEVLISTATTR_SHOWLOCKED 0x0040 |
#define | LEVLISTATTR_ALLCOLUMNS (LEVLISTATTR_SHOWDESCR | LEVLISTATTR_SHOWFILE | LEVLISTATTR_SHOWUSED | LEVLISTATTR_SHOWEXTERNAL | LEVLISTATTR_SHOWLOCKED) |
#define | LEVLISTATTR_BOLDUSED 0x0100 |
#define | LEVLISTATTR_APPLYACTIVEFILTER 0x0200 |
#define | LEVLISTATTR_USEDISPLAYNAME 0x0400 |
#define | __BFILE__ __FILE__ |
#define | DIALOGINFO_LayoutManager 0x00000001 |
Dialog Information Attributes. More... | |
#define | DIALOGINFO_AspectRatioDefined 0x00000002 |
#define | DIALOGINFO_AspectRatioNotNeeded 0x00000004 |
#define | DIALOGINFO_SystemDialog 0x00000008 |
#define | DIALOGINFO_LayoutManagerNotNeeded 0x00000010 |
#define | DIALOGINFO_Ignore 0x08000000 |
#define | CMDITEMLISTINFO_LayoutManager 0x00000001 |
CmdItemList Information Attributes. More... | |
#define | CMDITEMLISTINFO_AspectRatioDefined 0x00000002 |
#define | CMDITEMLISTINFO_AspectRatioNotNeeded 0x00000004 |
#define | CMDITEMLISTINFO_LayoutManagerNotNeeded 0x00000010 |
#define | CMDITEMLISTINFO_Ignore 0x08000000 |
#define | BEGIN_LAYOUT(type, id, auxinfo) {{ 0, 0, 0, 0}, type, id, ON, 0, "", auxinfo}, |
#define | BEGIN_DOCK_LAYOUT(id, auxinfo) BEGIN_LAYOUT(DockLayout, id, auxinfo) |
DockLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides. More... | |
#define | BEGIN_FLOW_LAYOUT(id, auxinfo) BEGIN_LAYOUT(FlowLayout, id, auxinfo) |
FlowLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides. More... | |
#define | BEGIN_GRID_LAYOUT(id, auxinfo) BEGIN_LAYOUT(GridLayout, id, auxinfo) |
GridLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides. More... | |
#define | BEGIN_HSTACK_LAYOUT(id, auxinfo) BEGIN_LAYOUT(HStackLayout, id, auxinfo) |
HStackLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides. More... | |
#define | BEGIN_VSTACK_LAYOUT(id, auxinfo) BEGIN_LAYOUT(VStackLayout, id, auxinfo) |
VStackLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides. More... | |
#define | BEGIN_HSPLITTER_LAYOUT(id, auxinfo) BEGIN_LAYOUT(HSplitterLayout, id, auxinfo) |
HSplitterLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides. More... | |
#define | BEGIN_VSPLITTER_LAYOUT(id, auxinfo) BEGIN_LAYOUT(VSplitterLayout, id, auxinfo) |
VSplitterLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides. More... | |
#define | END_LAYOUT {{ 0, 0, 0, 0}, EndLayout, 0, ON, 0, "", ""}, |
EndLayout Resource Macro used to end a "start" resource. More... | |
#define | GRID_ROW(stretch, auxinfo) {{ 0, 0, 0, 0}, GridRow, 0, ON, stretch, "", auxinfo}, |
GridRow Resource Macro used to specify a stretch factor and auxInfo overrides. More... | |
#define | END_ROW {{ 0, 0, 0, 0}, EndRow, 0, ON, 0, "", ""}, |
EndRow Resource Macro used to end a GridRow resource. More... | |
#define | EMPTY_GRID_ROW(height, stretch, auxinfo) GRID_ROW(stretch, auxinfo) {{AUTO_XY, 0, height}, Label, 0, ON, LABEL_CANBEEMPTY, " ", "colSpan='*'"}, END_ROW |
Empty Row Resource Macro used to specify a spacing row inside a GridLayout. More... | |
#define | EMPTY_GRID_CELL(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_CANBEEMPTY, "", auxinfo}, |
Empty Row Resource Macro used to specify a spacing cell inside a GridLayout. More... | |
#define | SPACING(amount) {{ 0, 0, amount, 0}, Spacing, 0, ON, 0, "", ""}, |
Spacing Resource Macro used to specify the fixed amount of space between items. More... | |
#define | STRETCH(amount) {{ 0, 0, 0, 0}, Stretch, 0, ON, amount, "", ""}, |
Stretch Resource Macro used to specify the stretch factor of a spacer item. More... | |
#define | AUTO_XY 0, 0 |
Convenience macro for the DialogItemRsc sextent x,y fields to indicate the Layout Manager will determine position. More... | |
#define | AUTO_XYWH { 0, 0, 0, 0} |
Convenience macro for the DialogItemRsc sextent field to indicate the Layout Manager will determine position and default size. More... | |
#define | NO_ITEMARGS ON, 0, "", "" |
Convenience macro for the DialogItemRsc attributes, itemArg, label and auxInfo fields. More... | |
#define | BEGIN_TOOL_SETTINGS BEGIN_VSTACK_LAYOUT(VSTACKLAYOUTID_ToolSettingsMain,"") BEGIN_HSTACK_LAYOUT(0, "") STRETCH(1) |
Convenience macro to specify the standard layout for the start of a Tool Settings CmdItemList resource. More... | |
#define | END_TOOL_SETTINGS STRETCH(1) END_LAYOUT STRETCH(1) END_LAYOUT |
Convenience macro to specify the standard layout for the end of a Tool Settings CmdItemList resource. More... | |
#define | LAYOUT_LABEL_PREV_LEFT(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKPREV | ALIGN_LEFT, "", auxinfo}, |
Convenience macros for linked Label items - link to previous item, align left. More... | |
#define | LAYOUT_LABEL_PREV_RIGHT(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKPREV | ALIGN_RIGHT, "", auxinfo}, |
Convenience macros for linked Label items - link to previous item, align right. More... | |
#define | LAYOUT_LABEL_NEXT_LEFT(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKNEXT | ALIGN_LEFT, "", auxinfo}, |
Convenience macros for linked Label items - link to next item, align left. More... | |
#define | LAYOUT_LABEL_NEXT_RIGHT(minlength, auxinfo) {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKNEXT | ALIGN_RIGHT, "", auxinfo}, |
Convenience macros for linked Label items - link to next item, align right. More... | |
#define | PROPERTY_BINDING_BUTTON(STRING) {AUTO_XYWH, IconCmdX, ICONID_PropertyBindingButton, ON, 0, "", STRING } |
Convenience macros for Property Binding. More... | |
#define | PROPERTY_BINDING_BUTTON_WITH_ID(STRING, ICONID) {AUTO_XYWH, IconCmdX, ICONID, ON, 0, "", STRING } |
#define | DEFINE_PROPERTY_BINDING_BUTTON(ICONID) DItem_IconCmdXRsc ICONID = { NOHELP, MHELP, HOOKITEMID_PropertyBindingButton, NOARG, 0, ICONID_PropertyBindingUnassigned, "", "" }; |
#define | XC_3_2 (XC*3/2) |
Convenience macros for common layouts in layouts.r and in your own layouts. More... | |
#define | MAIN_MARGIN XC_3_2 |
#define | REDUCED_MARGIN XC |
#define | SMALL_MARGIN XC*2/3 |
#define | SB_MARGIN XC/3 |
#define | BUTTON_HSPACING XC_3_2 |
#define | SECTION_HSPACING XC_3_2 |
#define | LABEL_HSPACING XC/2 |
#define | MEDIUM_HSPACING XC |
#define | LABEL_VSPACING YC/6 |
#define | ROW_SPACING YC/4 |
#define | GRID_HSPACING XC |
#define | GRID_VSPACING ROW_SPACING |
#define | VSTACK_VSPACING ROW_SPACING |
#define | VSTACK_SECTION_SPACING YC*5/6 |
#define | HSTACK_HSPACING YC/3 |
#define | FLOW_MARGIN 1 |
#define | FLOW_HSPACING 1 |
#define | FLOW_VSPACING 1 |
#define | GROUPBOX_GAP YC/2 |
#define | SECTION_GAP YC/2 |
#define | FONTHEIGHT_GAP YC |
#define | HSTACK_SBSPACING SB_MARGIN |
Typedefs | |
typedef DialogItemListRsc | CmdItemListRsc |
typedef ItemListRsc | DItem_SynonymsRsc |
Item Synonyms Structure. More... | |
typedef DItem_ListRsc | DItem_ListBoxRsc |
ListBox dialog item resource. More... | |
typedef DItem_OptionButtonItemRsc | DItem_PulldownOptionItemRsc |
Pulldown Option Menu Item Resource. More... | |
typedef IdListRsc | DItem_RadioButtonListRsc |
RadioButton List Resource. More... | |
typedef DItem_ToggleButtonRsc | DItem_CheckButtonRsc |
typedef DItem_MenuBarRsc | DItem_WindowMenuRsc |
Functions | |
static GuiLayoutHelperP | Create (MSDialogP gdP) |
Creates a GuiLayoutHelper to wrap the given MSDialog. More... | |
virtual void | Move (const BPoint &point) override |
Moves the dialog to the given point. More... | |
virtual void | Resize (const BSize &size) override |
Resizes the dialog to the given size. More... | |
virtual void | SetGeometry (const BRect &rect) override |
Resizes and repositions the dialog to the given rectangle. More... | |
virtual void | ShowIfNotHidden () override |
Shows the dialog if it is not hidden. More... | |
void | WindowSizeDoLayout (const BSize &size) |
Notifies the Layout Manager that the size of the dialog has changed and the layout needs to be updated. More... | |
bool | CheckMinMaxSize (BSize &size) |
Checks the given size of the dialog against the minimum and maximum sizes of the dialog. More... | |
void | Refresh () |
Refreshes the layout of the dialog and redraws the contents. More... | |
void | SuspendLayout () |
Suspends the layout as child items are changed. More... | |
void | ResumeLayout () |
Resumes the layout after being suspended. More... | |
bool | IsSuspended () |
Checks whether a layout suspend block is in progress. More... | |
static GuiLayoutControlP | Create (GuiLayoutHelperP layoutHelperP, DialogItemP diP, SizePolicy sp=SizePolicy(SP_Preferred, SP_Preferred), BSize minSize=BSize(0, 0)) |
Creates a GuiLayoutControl to wrap the given DialogItem. More... | |
virtual BSize | GetDesiredSize () const override |
Returns the desired size for this control. More... | |
virtual BSize | GetDesiredMinimumSize () const override |
Returns the recommended minimum size for the control. More... | |
virtual BSize | GetMinimumSize () const override |
Returns the minimum size for the control. More... | |
virtual void | Move (const BPoint &point) override |
Moves the control to a new point. More... | |
virtual void | Resize (const BSize &size) override |
Resizes the control to the given size. More... | |
virtual void | SetGeometry (const BRect &rect) override |
Resizes and repositions the control to the given rectangle. More... | |
virtual void | ShowIfNotHidden () override |
Shows the control if it is not hidden. More... | |
virtual void | ItemSizeChanged () |
Notifies the Layout Manager that the size of the control has changed and the layout needs to be updated. More... | |
virtual void | VisibleChanged () |
Notifies the Layout Manager that the visibility of the control has changed and the layout needs to be updated. More... | |
static GuiLayoutLabel * | Create (GuiLayoutHelperP layoutHelperP, DialogItemP diP, SizePolicy sp=SizePolicy(SP_Minimum, SP_Fixed), bool attachedToItem=false) |
Creates a GuiLayoutLabel to wrap the given Label dialog item. More... | |
virtual void | Move (const BPoint &point) override |
Moves the control to a new point. More... | |
virtual void | Resize (const BSize &size) override |
Resizes the control to the given size. More... | |
virtual void | SetGeometry (const BRect &rect) override |
Resizes and repositions the control to the given rectangle. More... | |
virtual void | ShowIfNotHidden () override |
Shows the control if it is not hidden. More... | |
virtual int | GetHeightForWidth (int width) const override |
Returns the preferred height for this control, given a certain width. More... | |
void | GetLabel (WStringR label) |
Retrieves the label string. More... | |
static GuiLayoutContainerPanel * | Create (GuiLayoutHelperP layoutHelperP, DialogItemP diP, SizePolicy sp=SizePolicy(SP_Preferred, SP_Preferred), BSize minSize=BSize(0, 0)) |
Creates a GuiLayoutContainerPanel to wrap the given ContainerPanel dialog item. More... | |
virtual BSize | GetDesiredMinimumSize () const override |
Returns the recommended minimum size for the control. More... | |
virtual BSize | GetMinimumSize () const override |
Returns the minimum size for the control. More... | |
virtual BSize | GetMaximumSize () const override |
Returns the maximum size for the control. More... | |
virtual void | Move (const BPoint &point) override |
Moves the control to a new point. More... | |
virtual void | Resize (const BSize &size) override |
Resizes the control to the given size. More... | |
virtual void | SetGeometry (const BRect &rect) override |
Resizes and repositions the control to the given rectangle. More... | |
virtual void | ShowIfNotHidden () override |
Shows the control if it is not hidden. More... | |
virtual int | GetHeightForWidth (int width) const override |
Returns the preferred height for this control, given a certain width. More... | |
static GuiLayoutTabPageList * | Create (GuiLayoutHelperP layoutHelperP, DialogItemP diP, SizePolicy sp=SizePolicy(SP_Preferred, SP_Preferred), BSize minSize=BSize(0, 0)) |
Creates a GuiLayoutTabPageList to wrap the given TabPageList dialog item. More... | |
virtual BSize | GetDesiredMinimumSize () const override |
Returns the recommended minimum size for the control. More... | |
virtual BSize | GetMinimumSize () const override |
Returns the minimum size for the control. More... | |
virtual BSize | GetMaximumSize () const override |
Returns the maximum size for the control. More... | |
virtual void | Move (const BPoint &point) override |
Moves the control to a new point. More... | |
virtual void | Resize (const BSize &size) override |
Resizes the control to the given size. More... | |
virtual void | SetGeometry (const BRect &rect) override |
Resizes and repositions the control to the given rectangle. More... | |
virtual void | ShowIfNotHidden () override |
Shows the control if it is not hidden. More... | |
virtual int | GetHeightForWidth (int width) const override |
Returns the preferred height for this control, given a certain width. More... | |
static GuiLayoutSeparator * | Create (GuiLayoutHelperP layoutHelperP, DialogItemP diP, SizePolicy sp=SizePolicy(SP_Preferred, SP_Preferred), BSize minSize=BSize(0, 0)) |
Creates a GuiLayoutSeparator to wrap the given Separator dialog item. More... | |
virtual BSize | GetDesiredSize () const override |
Returns the desired size for this control. More... | |
static GuiSplitterHandle * | Create (GuiLayoutHelperP layoutHelperP, SplitterLayout *layoutP, DialogItemP diP, SizePolicy sp=SizePolicy(SP_Preferred, SP_Preferred), BSize minSize=BSize(0, 0)) |
Creates a GuiSplitterHandle to wrap the given Sash dialog item. More... | |
virtual BSize | GetDesiredMinimumSize () const override |
Returns the recommended minimum size for the control. More... | |
virtual BSize | GetMinimumSize () const override |
Returns the minimum size for the control. More... | |
virtual void | Move (const BPoint &point) override |
Moves the control to a new point. More... | |
virtual void | Resize (const BSize &size) override |
Resizes the control to the given size. More... | |
virtual void | SetGeometry (const BRect &rect) override |
Resizes and repositions the control to the given rectangle. More... | |
virtual void | ShowIfNotHidden () override |
Shows the control if it is not hidden. More... | |
virtual int | MoveSplitter (int pos) override |
Moves the SplitterHandle to a new position. More... | |
virtual bool | PositionWasBound (int givenPosition, int boundPosition, SplitterBoundType boundType) override |
Position has been bound to Minimum or Maximum. More... | |
GuiLayoutHelperP | mdlDialog_getLayoutHelper (MSDialogP dbP) |
Gets the GuiLayoutHelper object pointer for this MSDialog. More... | |
StatusInt | mdlDialog_setLayoutHelper (MSDialogP dbP, GuiLayoutHelperP layoutHelperP) |
Sets the GuiLayoutHelper object pointer for this MSDialog. More... | |
StatusInt | mdlDialog_suspendLayout (MSDialogP dbP) |
Suspends the layout for a Dialog Box. More... | |
StatusInt | mdlDialog_resumeLayout (MSDialogP dbP) |
Resume the layout for a Dialog Box. More... | |
GuiLayoutHelper is the LayoutControl representing the overall layout for a dialog.
#define __BFILE__ __FILE__ |
#define ALIGN_CENTER 0x40 |
#define ALIGN_LEFT 0x00 |
#define ALIGN_MASK 0xE0 |
#define ALIGN_PARENT 0x80 |
#define ALIGN_RIGHT 0x20 |
#define AUTO_XY 0, 0 |
Convenience macro for the DialogItemRsc sextent x,y fields to indicate the Layout Manager will determine position.
#define AUTO_XYWH { 0, 0, 0, 0} |
Convenience macro for the DialogItemRsc sextent field to indicate the Layout Manager will determine position and default size.
#define BEGIN_DOCK_LAYOUT | ( | id, | |
auxinfo | |||
) | BEGIN_LAYOUT(DockLayout, id, auxinfo) |
DockLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides.
#define BEGIN_FLOW_LAYOUT | ( | id, | |
auxinfo | |||
) | BEGIN_LAYOUT(FlowLayout, id, auxinfo) |
FlowLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides.
#define BEGIN_GRID_LAYOUT | ( | id, | |
auxinfo | |||
) | BEGIN_LAYOUT(GridLayout, id, auxinfo) |
GridLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides.
#define BEGIN_HSPLITTER_LAYOUT | ( | id, | |
auxinfo | |||
) | BEGIN_LAYOUT(HSplitterLayout, id, auxinfo) |
HSplitterLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides.
#define BEGIN_HSTACK_LAYOUT | ( | id, | |
auxinfo | |||
) | BEGIN_LAYOUT(HStackLayout, id, auxinfo) |
HStackLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides.
#define BEGIN_LAYOUT | ( | type, | |
id, | |||
auxinfo | |||
) | {{ 0, 0, 0, 0}, type, id, ON, 0, "", auxinfo}, |
#define BEGIN_TOOL_SETTINGS BEGIN_VSTACK_LAYOUT(VSTACKLAYOUTID_ToolSettingsMain,"") BEGIN_HSTACK_LAYOUT(0, "") STRETCH(1) |
Convenience macro to specify the standard layout for the start of a Tool Settings CmdItemList resource.
#define BEGIN_VSPLITTER_LAYOUT | ( | id, | |
auxinfo | |||
) | BEGIN_LAYOUT(VSplitterLayout, id, auxinfo) |
VSplitterLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides.
#define BEGIN_VSTACK_LAYOUT | ( | id, | |
auxinfo | |||
) | BEGIN_LAYOUT(VStackLayout, id, auxinfo) |
VStackLayout Resource Macro used to specify the id of a common layout definition and auxInfo overrides.
#define BGAP 4 |
#define BGROUPATTR_HIGHLIGHTINVERT 0x2 |
#define BGROUPATTR_MULTISELECTION 0x4 |
#define BGROUPATTR_NODRAWBORDER 0x1 |
Button Group Attributes.
#define BGROUPATTR_SPRINGLOADED 0x8 /* ignored if multi-selection */ |
#define BGROUPITEMATTR_DISABLED 0x10 |
#define BGROUPITEMATTR_GREYED 0x20 |
#define BGROUPITEMATTR_HALIGNCENTER 0x00 |
#define BGROUPITEMATTR_HALIGNLEFT 0x01 |
#define BGROUPITEMATTR_HALIGNRIGHT 0x02 |
#define BGROUPITEMATTR_VALIGNCENTER 0x00 |
#define BGROUPITEMATTR_VALIGNLEFT 0x04 |
#define BGROUPITEMATTR_VALIGNRIGHT 0x08 |
#define BUTTON_HSPACING XC_3_2 |
Horizontal spacing between dialog button in lower-right
#define BUTTON_LARGEHEIGHT (2.0*YC) |
#define BUTTON_LARGEWIDTH (BUTTON_STDWIDTH+4*XC) |
#define BUTTON_STDWIDTH (8*XC) |
#define CANCEL_BUTTON 0x02 |
#define CMDITEMLISTINFO_AspectRatioDefined 0x00000002 |
#define CMDITEMLISTINFO_AspectRatioNotNeeded 0x00000004 |
#define CMDITEMLISTINFO_Ignore 0x08000000 |
#define CMDITEMLISTINFO_LayoutManager 0x00000001 |
CmdItemList Information Attributes.
#define CMDITEMLISTINFO_LayoutManagerNotNeeded 0x00000010 |
#define CMPLBAR_Generic_Height (YC + 10) |
#define CMPLBAR_Height (5 * YC + 4) |
#define CMPLBAR_Width (55 * XC) |
#define COMBOATTR_AUTOADDNEWSTRINGS 0x00000010 |
Add new text entries to string list
#define COMBOATTR_CELLFONTINBOX (0x00008000 | COMBOATTR_FONTBYCOLUMN) |
Use the cell font when value in main box
#define COMBOATTR_COLOREDROWS 0x00001000 |
Allows the override of color by row.
#define COMBOATTR_DISPLAYALLCOLUMNS 0x00000040 |
Display all columns in readonly
#define COMBOATTR_DRAWPREFIXICON 0x00000004 |
Draw icon preceding text
#define COMBOATTR_FONTBYCOLUMN 0x00000800 |
specify list box font (bold or regular) on a cell basis
#define COMBOATTR_FULLWIDTH 0x00004000 |
Set ListBox to full width based on data
#define COMBOATTR_HIGHLIGHTTEXT 0x00002000 |
Highlight the text only, not entire row
#define COMBOATTR_INDEXISVALUE 0x00000008 |
Use list index as value; not text
#define COMBOATTR_LABELABOVE 0x00000020 |
Put label above text field
#define COMBOATTR_LABELINSIDE 0x00010000 |
label is inside the item
#define COMBOATTR_NODISABLEICON 0x00000200 |
No disabled look in icons when item disabled
#define COMBOATTR_NOHORIZSCROLLBAR 0x00000400 |
Turn off Horizontal ScrollBar
#define COMBOATTR_NOKEYSEARCH 0x00000100 |
No search upon key press
#define COMBOATTR_READONLY 0x00000001 |
ComboBoxBox dialog item attributes.
Drop-down list only; no editting
#define COMBOATTR_SORT 0x00000002 |
Sort members in string list
#define COMBOATTR_TREE 0x00020000 |
Drop-down is a Tree item - using GuiTreeModel
#define COMBOATTR_TREEPARENTSELECTABLE 0x00040000 |
A parent node in the Tree is selectable
#define COMBOATTR_USEMODELVALUE 0x00000080 |
Use value from the ListModel
#define CONCAT 0x1 |
#define CONTAINERATTR_AUTOCLOSE 0x00000002 /* Auto-close on mouse exit */ |
#define CONTAINERATTR_NODILISTID 0x00000001 /* Don't use diListId - app will use Container API to set DialogItemListRsc */ |
Container Dialog Item Attributes.
#define CTPANELATTR_BOUNDINGBOX 0x00000001 /* Draw box around panel */ |
ContainerPanel Dialog Item Attributes.
#define D_GAP 5 |
#define DCOORD_RESOLUTION 12 /* # of dialog coords/font height */ |
#define DEFAULT_BUTTON 0x01 |
#define DEFINE_PROPERTY_BINDING_BUTTON | ( | ICONID | ) | DItem_IconCmdXRsc ICONID = { NOHELP, MHELP, HOOKITEMID_PropertyBindingButton, NOARG, 0, ICONID_PropertyBindingUnassigned, "", "" }; |
#define DIALOGATTR_ALLOWNOTITLEBAR 0x00000800 /* do not use */ |
#define DIALOGATTR_ALWAYSSETSTATE 0x00000080 |
#define DIALOGATTR_AUTOOPEN 0x00000200 /* internal use */ |
#define DIALOGATTR_AUTOUNLOADAPP 0x00040000 /* when dialog closed, unload its app */ |
#define DIALOGATTR_BOTHVIRTUAL 0x00100000 |
#define DIALOGATTR_CLOSEONNEW 0x00000040 |
#define DIALOGATTR_DATABASE 0x04000000 /* DataBase AuxHandler will be called */ |
#define DIALOGATTR_DEFAULT 0 |
#define DIALOGATTR_DOCKABLE 0x00200000 |
#define DIALOGATTR_DONTCAUSEAUTOSWITCH 0x00010000 /* only if dlog not focusable */ |
#define DIALOGATTR_DONTDRAWBEVEL 0x00008000 |
#define DIALOGATTR_FILEOPENCOMMON (DIALOGATTR_MODAL | DIALOGATTR_ALWAYSSETSTATE | DIALOGATTR_HOOKSBEFOREDEFAULTS) |
#define DIALOGATTR_FORWARDMNEMONICS 0x00800000 |
#define DIALOGATTR_GROWABLE 0x00000002 |
#define DIALOGATTR_HOOKSBEFOREDEFAULTS 0x00004000 /* internal use */ |
#define DIALOGATTR_MAXIMIZABLE 0x01000000 |
#define DIALOGATTR_MODAL 0x00000001 |
#define DIALOGATTR_MOTIONTOITEMS 0x80000000 /* items will receive motion/nomotion events */ |
#define DIALOGATTR_MUSTSTAYVISIBLE 0x10000000 /* keep entire window visible */ |
#define DIALOGATTR_NOAUTOACTIVATE 0x00001000 |
#define DIALOGATTR_NOAUTOFOCUS 0x00080000 /* when dialog opened don't get focus */ |
#define DIALOGATTR_NOAUTOSWITCH 0x00000020 |
#define DIALOGATTR_NOFULLDRAG 0x02000000 |
#define DIALOGATTR_NORIGHTICONS 0x00000100 |
#define DIALOGATTR_NOSYNCHONNEW 0x00002000 |
#define DIALOGATTR_NOWINDOWCONTROLICON 0x00000400 /* do not use */ |
#define DIALOGATTR_REQUESTALTERNATERASTER 0x08000000 /* Try alt. drawing technique if supported */ |
#define DIALOGATTR_REQUESTBACKINGSTORE 0x00020000 /* Try to use backing store if supported */ |
#define DIALOGATTR_RESIZESINWARD 0x40000000 |
#define DIALOGATTR_SINKABLE 0x00000004 |
#define DIALOGATTR_THINBORDERS 0x20000000 /* appears as if docked */ |
#define DIALOGATTR_TITLEBARDOCKED 0x00400000 |
#define DIALOGATTR_TOOLBOXCOMMON |
#define DIALOGATTR_UNCLOSEABLE 0x00000010 |
#define DIALOGATTR_UNMOVEABLE 0x00000008 /* internal use */ |
#define DIALOGATTRX_ALWAYSBORDEREDITEMS 0x00000400 /* Always draw the item borders, regardless of userpref borderless setting */ |
#define DIALOGATTRX_AUTOUPDATETEXTITEMS 0x00004000 /* Auto-update text item state after keystrokes and a brief delay */ |
#define DIALOGATTRX_FOCUSABLENOCHECK 0x00000100 /* Focusable, regardless of focusable items */ |
#define DIALOGATTRX_NETDOCKABLE 0x00000020 /* Dialog is dockable within the .NET docking mechanism */ |
#define DIALOGATTRX_NOCHANGESCREEN 0x00000001 /* Disallow Change Screen when using 2 App Windows */ |
#define DIALOGATTRX_NODOUBLEBUFFER 0x00002000 /* Double-buffering is disallowed for this dialog */ |
#define DIALOGATTRX_NOICONCMDSYNCH 0x00000008 /* Dialog contains IconCmds, but no synching necessary */ |
#define DIALOGATTRX_NOITEMADJUSTMENTS 0x00000002 /* Don't adjust some of the items' x,y by -2 */ |
#define DIALOGATTRX_NOMINIMIZEBOX 0x00000040 /* Minimize is disallowed */ |
#define DIALOGATTRX_NOTRANSPARENCY 0x00000080 /* Transparency is disallowed */ |
#define DIALOGATTRX_OUTPUTONLY 0x00000010 /* Dialog is for output only - does not get focus */ |
#define DIALOGATTRX_SIZEGRIP 0x00000004 /* Draw the size grip in the dialog */ |
#define DIALOGATTRX_TRACKINGHELP 0x00000200 /* Use Tracking style help for this dialog */ |
#define DIALOGATTRX_TRANSPARENTBORDERLESS 0x00000800 /* This dialog is a transparent popup dialog */ |
#define DIALOGATTRX_USEALPHABLEND 0x00001000 /* Use alpha blend - valid only when DIALOGATTRX_TRANSPARENTBORDERLESS is also true */ |
#define DIALOGINFO_AspectRatioDefined 0x00000002 |
#define DIALOGINFO_AspectRatioNotNeeded 0x00000004 |
#define DIALOGINFO_Ignore 0x08000000 |
#define DIALOGINFO_LayoutManager 0x00000001 |
Dialog Information Attributes.
#define DIALOGINFO_LayoutManagerNotNeeded 0x00000010 |
#define DIALOGINFO_SystemDialog 0x00000008 |
#define DIALOGPOSATTR_AUTOOPEN 0x8000 |
#define DIALOGPOSATTR_AUTOOPENDEFERRED 0x0400 |
#define DIALOGPOSATTR_DISABLED 0x1000 |
#define DIALOGPOSATTR_MAXIMIZED 0x0100 |
#define DIALOGPOSATTR_MINIMIZED 0x2000 |
#define DIALOGPOSATTR_NAMEDTOOLBOX 0x0200 |
#define DISABLED 0x0 /* same as OFF */ |
#define EMPTY_GRID_CELL | ( | minlength, | |
auxinfo | |||
) | {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_CANBEEMPTY, "", auxinfo}, |
Empty Row Resource Macro used to specify a spacing cell inside a GridLayout.
#define EMPTY_GRID_ROW | ( | height, | |
stretch, | |||
auxinfo | |||
) | GRID_ROW(stretch, auxinfo) {{AUTO_XY, 0, height}, Label, 0, ON, LABEL_CANBEEMPTY, " ", "colSpan='*'"}, END_ROW |
Empty Row Resource Macro used to specify a spacing row inside a GridLayout.
#define ENABLED 0x1 /* same as ON */ |
#define END_LAYOUT {{ 0, 0, 0, 0}, EndLayout, 0, ON, 0, "", ""}, |
EndLayout Resource Macro used to end a "start" resource.
#define END_ROW {{ 0, 0, 0, 0}, EndRow, 0, ON, 0, "", ""}, |
EndRow Resource Macro used to end a GridRow resource.
#define END_TOOL_SETTINGS STRETCH(1) END_LAYOUT STRETCH(1) END_LAYOUT |
Convenience macro to specify the standard layout for the end of a Tool Settings CmdItemList resource.
#define EXTATTR_DIALOGNAME 0 /* Name of the dialog for "set item" purposes and dialog docking ID. Spaces should not be included in this name. */ |
#define EXTINTATTR_DLOGATTRS 0 /* any extended dialog attributes - DIALOGATTRX_XXX */ |
#define EXTWATTR_DIALOGNAME 0 /* Name of the dialog for "set item" purposes and dialog docking ID. Spaces should not be included in this name. */ |
#define FLOW_HSPACING 1 |
Horizontal spacing between items in a FlowLayout
#define FLOW_MARGIN 1 |
Margin around a FlowLayout
#define FLOW_VSPACING 1 |
Vertical spacing between items in a FlowLayout
#define FONTHEIGHT_GAP YC |
Gap equivalent to the font height
#define FORMAT_MONOBITMAP 0 |
#define GAP 3 |
#define GRID_HSPACING XC |
Horizontal spacing between columns
#define GRID_ROW | ( | stretch, | |
auxinfo | |||
) | {{ 0, 0, 0, 0}, GridRow, 0, ON, stretch, "", auxinfo}, |
GridRow Resource Macro used to specify a stretch factor and auxInfo overrides.
#define GRID_VSPACING ROW_SPACING |
Vertical spacing between Grid rows
#define GROUPBOX_GAP YC/2 |
Extra gap above a GroupBox
#define GROUPBOXATTR_BAR 0x40 /* Draw as only a bar */ |
#define GROUPBOXATTR_DRAWOVERLAPPING 0x20 /* redraw overlapping items */ |
GroupBox Dialog Item.
#define HELPCMD 0x2 |
#define HELPTOPIC 0x0 |
#define HIDDEN 0x2 |
#define HSTACK_HSPACING YC/3 |
Horizontal spacing between items in a HStackPanel
#define HSTACK_SBSPACING SB_MARGIN |
StatusBar spacing
#define ICON_SIZE_LARGE 32 |
#define ICON_SIZE_SMALL 24 |
#define ICON_SIZE_TINY 16 |
#define ICONCMDATTR_DONTAUTOSELECT 0x02 |
#define ICONCMDATTR_DONTSINGLESHOT 0x01 |
#define ICONCMDATTR_NOCOMMANDSTR 0x08 |
#define ICONCMDATTR_NODOWNTRIANGLE 0x04 /* Never draw slamdown/toolsettings indicator */ |
#define ICONFORMAT_COMPOSITE 7 |
#define ICONFORMAT_FIXEDCOLORS 1 |
#define ICONFORMAT_MONO FORMAT_MONOBITMAP |
#define ICONFORMAT_WINDOWS 6 |
#define ICONFORMAT_WINDOWSBMP 4 |
#define ICONFORMAT_WINDOWSICO 5 |
#define ICONPOPUPATTR_ALWAYSBORDERED 0x00000040 |
always draw the border, regardless of borderless setting
#define ICONPOPUPATTR_AUTOCLOSE 0x00020000 |
Automatically close on mouse exit
#define ICONPOPUPATTR_CMDSELECTIONS 0x00008000 |
supports the ICONCMD_SELECTTYPE selection modes
#define ICONPOPUPATTR_COMPRESSEDARROW 0x00010000 |
internal for hierarchical ToolBoxes; command button and arrow combines
#define ICONPOPUPATTR_CONNECTED 0x00000001 |
IconPopup dialog item attributes.
icon & arrow buttons connected
#define ICONPOPUPATTR_DONTDRAWICON 0x00040000 |
Don't draw icon. Used when only inside label is desired
#define ICONPOPUPATTR_LABELLEFT 0x00000080 |
label is left justified
#define ICONPOPUPATTR_LABELONSIDE 0x00000800 |
draw label to left; use mdlDialog_iconPopupSetInsideLabel to set inside label
#define ICONPOPUPATTR_LABELRIGHT 0x00000100 |
label is right justified
#define ICONPOPUPATTR_LABELVERTICAL 0x00004000 |
label will be drawn vertically; only applies to vertical IconPopups
#define ICONPOPUPATTR_MUTABLE 0x00001000 |
item can mutate between horizontal and vertical
#define ICONPOPUPATTR_NODISABLEICON 0x00000400 |
don't show the icon as disabled
#define ICONPOPUPATTR_NOLABEL 0x00000010 |
don't include label
#define ICONPOPUPATTR_NORESTOREFOCUS 0x00000020 |
don't restore focus after close
#define ICONPOPUPATTR_NOTOGGLE 0x00000004 |
Not a toggle button
#define ICONPOPUPATTR_PADBOTTOM 0x00000008 |
bottom of container padded with space
#define ICONPOPUPATTR_PADCORNER 0x00000002 |
lower right corner of container padded with space
#define ICONPOPUPATTR_TEXTSIZE 0x00000200 |
size as if a Text item
#define ICONPOPUPATTR_VERTICAL 0x00002000 |
item will be structured vertically
#define INVERT 1 |
#define LABEL_CANBEEMPTY 0x00080000 /* Used with the Layout Manager for empty rows/cells */ |
#define LABEL_FONT_BOLD 0x00004000 /* Only used in label items */ |
#define LABEL_HSPACING XC/2 |
Horizontal spacing between label and dialog item
#define LABEL_LINKMAX 0x00040000 /* Get minimum label from Scale - used in conjunction with PREV or NEXT */ |
#define LABEL_LINKMIN 0x00020000 /* Get minimum label from Scale - used in conjunction with PREV or NEXT */ |
#define LABEL_LINKNEXT 0x00010000 /* Get label from next item - used with Layout Manager */ |
#define LABEL_LINKPREV 0x00008000 /* Get label from previous item - used with Layout Manager */ |
#define LABEL_VSPACING YC/6 |
Vertical spacing between label and dialog item
#define LABEL_WORDWRAP 0x00002000 |
#define LAYOUT_LABEL_NEXT_LEFT | ( | minlength, | |
auxinfo | |||
) | {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKNEXT | ALIGN_LEFT, "", auxinfo}, |
Convenience macros for linked Label items - link to next item, align left.
#define LAYOUT_LABEL_NEXT_RIGHT | ( | minlength, | |
auxinfo | |||
) | {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKNEXT | ALIGN_RIGHT, "", auxinfo}, |
Convenience macros for linked Label items - link to next item, align right.
#define LAYOUT_LABEL_PREV_LEFT | ( | minlength, | |
auxinfo | |||
) | {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKPREV | ALIGN_LEFT, "", auxinfo}, |
Convenience macros for linked Label items - link to previous item, align left.
#define LAYOUT_LABEL_PREV_RIGHT | ( | minlength, | |
auxinfo | |||
) | {{AUTO_XY, minlength, 0}, Label, 0, ON, LABEL_LINKPREV | ALIGN_RIGHT, "", auxinfo}, |
Convenience macros for linked Label items - link to previous item, align right.
#define LCMD 1 |
#define LEVLISTATTR_ALLCOLUMNS (LEVLISTATTR_SHOWDESCR | LEVLISTATTR_SHOWFILE | LEVLISTATTR_SHOWUSED | LEVLISTATTR_SHOWEXTERNAL | LEVLISTATTR_SHOWLOCKED) |
Show all information columns for each level
#define LEVLISTATTR_ALLFILES 0x0003 |
MASTER and REFERENCE Levels
#define LEVLISTATTR_APPLYACTIVEFILTER 0x0200 |
Show only levels which pass the active filter
#define LEVLISTATTR_BOLDUSED 0x0100 |
Show in-use levels in bold font
#define LEVLISTATTR_MASTERFILE 0x0001 |
Level List Dialog Item Attributes.
MASTERFILE Levels only
#define LEVLISTATTR_REFERENCEFILES 0x0002 |
REFERENCE Levels
#define LEVLISTATTR_SHOWDESCR 0x0004 |
Show description for each level
#define LEVLISTATTR_SHOWEXTERNAL 0x0020 |
Show external info for each level
#define LEVLISTATTR_SHOWFILE 0x0008 |
Show file (master or ref) for each level
#define LEVLISTATTR_SHOWLOCKED 0x0040 |
Show external info for each level
#define LEVLISTATTR_SHOWUSED 0x0010 |
Show in use flag for each level
#define LEVLISTATTR_USEDISPLAYNAME 0x0400 |
Use the level display name (name from _getDisplayName, instead of _getName)
#define LHELP 0x1 |
#define LISTATTR_COLHEADINGBORDERS 0x00080000 /* Draw borders around the column headings */ |
#define LISTATTR_COLOREDROWS 0x00000200 /* if using StrList, nInfoFields must be >= 2 */ |
#define LISTATTR_DISJOINTSELECTION 0x00000008 /* not contiguous */ |
#define LISTATTR_DLOGBGCOLOR 0x00400000 /* Use DLOGBACKGROUND color instead of BACKGROUND */ |
#define LISTATTR_DRAGSELECTION 0x00000004 /* can select by dragging */ |
#define LISTATTR_DRAWLOCATIONCURSOR 0x00002000 /* in browse mode, draw cursor */ |
#define LISTATTR_DRAWOVERLAPPING 0x00004000 /* draw overlapping items */ |
#define LISTATTR_DRAWPREFIXICON 0x00008000 /* draw icon preceding text */ |
#define LISTATTR_DYNAMICSCROLL 0x00000100 /* scroll as slider moves */ |
#define LISTATTR_EDITABLE 0x08000000 /* Editable cells */ |
#define LISTATTR_FIXEDFONT 0x00000080 /* use fixed width font */ |
#define LISTATTR_FONTBYCOLUMN 0x00040000 /* specify list box font (bold or regular) on a column basis */ |
#define LISTATTR_GRID 0x10000000 /* Draw grid around cells */ |
#define LISTATTR_HORIZSCROLLBAR 0x00800000 /* Display horizontal scroll bar if needed */ |
#define LISTATTR_INDEPENDENTCOLS 0x00000020 /* columns can be individually selected */ |
#define LISTATTR_KEYCANTOGGLEMODE 0x00000800 /* can toggle between normal/add mode */ |
#define LISTATTR_KEYDEFAULTADDMODE 0x00001000 /* default mode is add mode */ |
#define LISTATTR_LABELONSIDE 0x00000001 /* not above */ |
ListBox Dialog Item Attributes.
#define LISTATTR_NEVERSELECTION 0x00000002 /* can never have any selection */ |
#define LISTATTR_NEWCOLHEADORIGIN 0x20000000 /* Column heading origin is listbox origin */ |
#define LISTATTR_NOELLIPSES 0x40000000 /* Columns will not show ellipses when truncated. */ |
#define LISTATTR_NOKEYSEARCH 0x00000040 /* no search upon key press */ |
#define LISTATTR_NOSELECTION 0x00000010 /* can have nothing selected */ |
#define LISTATTR_NOTRAVERSAL 0x04000000 /* Don't draw traversal rectangle */ |
#define LISTATTR_RANGESELECTION 0x00000004 /* obsolete */ |
#define LISTATTR_RESIZABLECOLUMNS (0x00100000 | LISTATTR_COLHEADINGBORDERS) |
#define LISTATTR_RIGHTCLICKSTOHOOK 0x80000000 /* Send right button clicks to hook */ |
#define LISTATTR_SAVECOLUMNINFO 0x02000000 /* Save column positions and sort info */ |
#define LISTATTR_SELBROWSE 0x0 |
#define LISTATTR_SELEXTENDED (LISTATTR_DISJOINTSELECTION | LISTATTR_NOSELECTION | LISTATTR_DRAGSELECTION | LISTATTR_KEYCANTOGGLEMODE ) |
#define LISTATTR_SELMULTI (LISTATTR_DISJOINTSELECTION | LISTATTR_NOSELECTION | LISTATTR_KEYDEFAULTADDMODE) |
#define LISTATTR_SELSINGLE (LISTATTR_NOSELECTION | LISTATTR_SINGLENODRAG | LISTATTR_KEYDEFAULTADDMODE) |
#define LISTATTR_SEPARATORS 0x00200000 /* Allow '-' to signify separator */ |
#define LISTATTR_SINGLENODRAG 0x00000400 /* do not use, internal use only */ |
#define LISTATTR_SORTCOLUMNS 0x01000000 /* Sort columns when headings clicked */ |
#define LISTATTR_TOOLFONTHEIGHT 0x00010000 /* force font height = tool size */ |
#define LISTATTR_TRACKSCREENCOORD 0x00020000 /* allow real (not col,row) cursor tracking */ |
#define LISTATTRX_COLHEADINGMENU 0x00000040 /* Right-clicking on the column heading will display show/hide menu */ |
#define LISTATTRX_DRAWNOBOTTOM 0x00000800 /* Do not draw the bottom - useful when ListBox stretches to bottom of dialog */ |
#define LISTATTRX_DRAWNOSIDES 0x00000400 /* Do not draw the sides - useful when ListBox stretches across the entire dialog */ |
#define LISTATTRX_DROPBETWEENROWS 0x00000080 /* Drop target is between ListBox rows */ |
#define LISTATTRX_FOCUSOUTLOOK 0x00000001 /* Selected cells use different colors when !hasFocus */ |
#define LISTATTRX_HEIGHTFORICONS 0x00000004 /* Change row height to accomodate tallest icon */ |
#define LISTATTRX_HIGHLIGHTTEXT 0x00000002 /* Highlight the text only, not entire row (ListModel use only) */ |
#define LISTATTRX_OUTLINESELECTION 0x00000200 /* Draw rectangle around selected row */ |
#define LISTATTRX_REORDERCOLUMNS 0x00000010 /* Columns may be reordered by user */ |
#define LISTATTRX_USEICONRSCFORSTRINGLIST 0x00000008 /* When setting info field for icon id, use the icon resource pointer instead */ |
#define LISTATTRX_USERRESIZELASTCOL 0x00000020 /* The last column may be resized by the user - no auto-sizing */ |
#define LISTATTRX_WAITFORDBLCLK 0x00000100 /* StateChanged is only sent once when double-clicking; wait for timeout on single-click */ |
#define LISTBOX_DW (0) |
#define LISTBOX_DW1_2 (LISTBOX_DW/2) |
#define LISTBOX_DW1_4 (LISTBOX_DW/4) |
#define LISTBOX_DW3_4 ((3*LISTBOX_DW)/4) |
#define LISTCOLATTR_EDITABLE 0x00004000 /* This column is editable, regardless of LISTATTR_EDITABLE */ |
#define LISTCOLATTR_NEVERSHOW 0x00010000 /* Never show this column (HIDDEN is a temporary state) */ |
#define LISTCOLATTR_NODISPLAYLABEL 0x00020000 /* Don't display the label - useful when display icons in heading */ |
#define LISTCOLATTR_NOEDIT 0x00002000 /* Used w/ LISTATTR_EDITABLE ... This column is not editable */ |
#define LISTCOLATTR_NOHIGHLIGHT 0x00008000 /* This column is not hilightable */ |
#define LISTCOLATTR_NOSORT 0x00001000 /* Used w/ LISTATTR_SORTCOLUMNS ... This column is not sortable */ |
#define LOOKUP 1 |
#define MAIN_MARGIN XC_3_2 |
Main margin for a Dialog
#define MCMD 0 |
#define MEDIUM_HSPACING XC |
Horizontal spacing between toolbox sections
#define MENU_PLACEMARK "^" |
#define MENU_SEPARATOR "-" |
#define MENUBARATTR_TALL 0x00000001 |
Menu Bar dialog item attributes.
Taller menubar than default
#define MHELP 0x0 |
#define MHELPTASKIDCMD "+" |
#define MHELPTASKIDTOPIC "+*" |
#define MLTEXTATTR_ALWAYSBEVELED 0x0008 |
only used if autohidesbar
#define MLTEXTATTR_AUTOHIDEDECOR 0x0004 |
no bevel/sbar if not needed
#define MLTEXTATTR_DYNAMICSCROLL 0x0080 |
update text w/ scroll bar
#define MLTEXTATTR_FIXEDFONT 0x0020 |
fixed font
#define MLTEXTATTR_KEEPSELECTIONONFOCUS 0x0400 |
if there is a highlight range do not clear it on a focus out or in
#define MLTEXTATTR_MESSAGEFONT 0x0200 |
use the Message font
#define MLTEXTATTR_NODISPLAYNLCHAR 0x0002 |
do not display the new-line character
#define MLTEXTATTR_NOWRAP 0x0010 |
no auto line wrap
#define MLTEXTATTR_READONLY 0x0001 |
Multiline dialog item attributes.
item is read-only
#define MLTEXTATTR_READONLYCOPY 0x0040 |
readonly but "copyable" - this implies read-only
#define MLTEXTATTR_SBARINWIDTH 0x0100 |
specified width includes vertical scroll bar
#define MTASKID "+" |
#define MTASKIDW L"+" |
#define NO_ITEMARGS ON, 0, "", "" |
Convenience macro for the DialogItemRsc attributes, itemArg, label and auxInfo fields.
#define NOACCEL 0 |
#define NOARG 0 |
#define NOCMD 0 |
#define NOCONCAT 0x0 |
#define NOECHO 0x2 |
#define NOHELP 0 |
#define NOHOOK 0 |
#define NOICON 0 |
#define NOICONID 0 |
#define NOID 0 |
#define NOINVERT 0 |
#define NOLOOKUP 0 |
#define NOMARK 0 |
#define NOMASK 0xFFFFFFFF |
#define NOPARENTID 0 |
#define NOSORT -1 |
#define NOSUBMENU 0 |
#define NOSUBMENUID 0 |
#define NOSYNONYM 0 |
#define NOT_DEFAULT_BUTTON 0x00 |
#define NOTYPE 0 |
#define OHELPTASKIDCMD "" |
#define OHELPTASKIDTOPIC "*" |
#define OPTNBTNATTR_DONTADDBUMPWIDTH 0x00002000 |
Option Button Dialog Item Attributes.
use specified width
#define OPTNBTNATTR_DONTDRAWMNEMONIC 0x00010000 |
"invisible" mnemonic for 1-character labels (e.g. drive letter)
#define OPTNBTNATTR_ICONANDTEXT 0x00020000 |
display both icon & text
#define OPTNBTNATTR_ICONRIGHT 0x00040000 |
when both icon & text, icon right (otw, left)
#define OPTNBTNATTR_LABELABOVE 0x00008000 |
draw label above instead of on side
#define OPTNBTNATTR_NEWSTYLE 0x00004000 |
draw Motif-like bump (set in itemHookArg)
#define OTASKID "" |
#define OTASKIDW L"" |
#define PBUTATTR_ALIGNCENTER 0x00 |
PushButton Dialog Item Attributes.
#define PBUTATTR_ALIGNLEFT 0x04 |
#define PBUTATTR_ALIGNMASK 0x0c |
#define PBUTATTR_ALIGNRIGHT 0x08 |
#define PBUTATTR_DIALOGWIDTH 0x80 |
#define PBUTATTR_DYNAMICBORDER 0x20 |
#define PBUTATTR_ICONALIGNMASK 0x10 |
#define PBUTATTR_ICONRIGHT 0x10 |
#define PBUTATTR_THINBORDER 0x40 |
#define POPUPMENUATTR_NOSAVEBITS 0x00000001 |
PopupMenu Dialog Item Attributes.
#define PROPERTY_BINDING_BUTTON | ( | STRING | ) | {AUTO_XYWH, IconCmdX, ICONID_PropertyBindingButton, ON, 0, "", STRING } |
Convenience macros for Property Binding.
#define PROPERTY_BINDING_BUTTON_WITH_ID | ( | STRING, | |
ICONID | |||
) | {AUTO_XYWH, IconCmdX, ICONID, ON, 0, "", STRING } |
#define READONLY 0x4 |
#define REDUCED_MARGIN XC |
Reduced margin for buttons
#define ROW_SPACING YC/4 |
Vertical spacing between Grid rows
#define SASHATTR_ALLGRAB 0x00000002 |
Complete sash is grab enabled
#define SASHATTR_CLEAR 0x00000080 |
Just clear - no lines/shading
#define SASHATTR_EXTENDLEFTTOP 0x00000200 |
Extend dialog size to left/top
#define SASHATTR_EXTENDRIGHTBOTTOM 0x00000400 |
Extend dialog size to right/bottom
#define SASHATTR_MOVEHANDLE 0x00000100 |
Draw a Move Handle
#define SASHATTR_NOENDS 0x00000020 |
Do not draw the ends of sash
#define SASHATTR_SAVEPOSITION 0x00000010 |
Save position in userpref
#define SASHATTR_SMOOTHMOVE 0x00000040 |
Repositioning/sizing of associated items is smooth
#define SASHATTR_SOLIDTRACK 0x00000008 |
Solid track line instead of dotted
#define SASHATTR_VERTICAL 0x00000001 |
Sash Dialog Item Attributes.
Sash is vertical
#define SASHATTR_WIDE 0x00000004 |
Wider item and grab area
#define SB_MARGIN XC/3 |
StatusBar margin
#define SCALE_HASARROWS 0x2 |
#define SCALE_LIMITSONSIDE 0x4 |
#define SCALE_SHOWVALUE 0x1 |
Sash Dialog Item Attributes.
#define SCALE_VALUEINTHUMB 0x8 |
#define SCROLL_ARROW_DOWN 1 |
#define SCROLL_ARROW_LEFT 2 |
#define SCROLL_ARROW_RIGHT 3 |
#define SCROLL_ARROW_UP 0 |
#define SECTION_GAP YC/2 |
Extra gap above a new section
#define SECTION_HSPACING XC_3_2 |
Horizontal spacing between sections
#define SEPARATOR_DIALOGSIZE 0x20 |
Explicitly indicates the Separator should be as wide or tall as the dialog
#define SEPARATOR_DIALOGTOPLEFT 0x40 |
Separator should be flush with the dialog on the top/left
#define SEPARATOR_DIRMASK 0x03 |
#define SEPARATOR_FLOWLAYOUT (SEPARATOR_VERTICAL | SEPARATOR_INDENTENDS | SEPARATOR_SIZEPREV) |
Useful when a vertical Separator is in a FlowLayout.
#define SEPARATOR_HORIZONTAL 0x02 |
Separator is horizontal
#define SEPARATOR_HTOOLSETTINGS (SEPARATOR_HORIZONTAL | SEPARATOR_INDENTLARGE | SEPARATOR_DIALOGSIZE) |
Useful when a horizontal Separator is in the Tool Settings.
#define SEPARATOR_HWITHBUTTONS (SEPARATOR_HORIZONTAL | SEPARATOR_INDENTLARGE | SEPARATOR_DIALOGTOPLEFT) |
#define SEPARATOR_INDENTENDS 0x08 |
Indent the ends of the Separator by 1 pixel
#define SEPARATOR_INDENTLARGE 0x10 |
Indent the ends of the Separator by 4 pixels
#define SEPARATOR_LABEL 0x04 |
allow label field in separator item
#define SEPARATOR_SIZEPREV 0x80 |
Size according to the previous item
#define SEPARATOR_VERTICAL 0x01 |
Separator Dialog Item Attributes Include in the itemArg value in the DialogItemRsc.
Separator is vertical
#define SMALL_MARGIN XC*2/3 |
Small margin for dialog with buttons at top
#define SORTED_ASCENDING 1 |
#define SORTED_DESCENDING 2 |
#define SPACING | ( | amount | ) | {{ 0, 0, amount, 0}, Spacing, 0, ON, 0, "", ""}, |
Spacing Resource Macro used to specify the fixed amount of space between items.
#define SPINATTR_LABELABOVE 0x0001 /* Put label above text field */ |
Separator Dialog Item Resource.
SpinBox Dialog Item Attributes
#define STRETCH | ( | amount | ) | {{ 0, 0, 0, 0}, Stretch, 0, ON, amount, "", ""}, |
Stretch Resource Macro used to specify the stretch factor of a spacer item.
#define TABATTR_DEFAULT 0x00000000 |
TabPage Dialog Item Attributes.
Tab Attributes default includes: Tabs across the top, Single row of tabs, Tabs variable sized, Centered labels & centered icons Tabs are medium height
#define TABATTR_ICONLEFTJUSTIFY 0x00000100 |
Left-justify the icons
#define TABATTR_ICONRIGHTJUSTIFY 0x00000200 |
Right-justify the labels
#define TABATTR_LABELLEFTJUSTIFY 0x00000040 |
Left-justify the labels
#define TABATTR_LABELRIGHTJUSTIFY 0x00000080 |
Right-justify the labels
#define TABATTR_MINSIZEFROMSELECTED 0x00004000 |
Minimize size comes from selected tab
#define TABATTR_MULTIROW 0x00000008 |
Multiple rows of tabs if necessary
#define TABATTR_RELATIVEPOSITIONS 0x00001000 |
Position items on tab relative to tab
#define TABATTR_SHOWHIDEMENU 0x00002000 |
Show/Hide menu on right-click
#define TABATTR_TABSBOTTOM 0x00000001 |
Tabs across the bottom
#define TABATTR_TABSFITPAGEWIDTH 0x00000010 |
Tabs same size to fit the page area
#define TABATTR_TABSFIXEDWIDTH 0x00000020 |
Width of tabs based on largest label
#define TABATTR_TABSLEFT 0x00000002 |
Tabs down the left side
#define TABATTR_TABSRIGHT 0x00000004 |
Tabs down the right side
#define TABATTR_TABSSHORT 0x00000400 |
Short tabs buttons
#define TABATTR_TABSTALL 0x00000800 |
Tall tabs buttons
#define TEXT_ABBREVFILENAME 0x00000014 |
Abbreviates filenames; this implies read-only
#define TEXT_ALWAYSBEVELED 0x00000040 |
always draw beveled, even if readonly
#define TEXT_AUTOUPDATE 0x00000200 |
auto-update the state after keystrokes and a brief delay
#define TEXT_CONCAT 0x00000001 |
#define TEXT_FORMAT_SIZE 16 |
#define TEXT_LABELINSIDE 0x00000080 |
label is inside the item
#define TEXT_MASK_LABELABOVE 1 |
#define TEXT_MINMAX_SIZE 16 |
#define TEXT_NOCONCAT 0x00000000 |
TextBox Dialog Item Attributes.
#define TEXT_NOECHO 0x00000002 |
#define TEXT_NORESETONERROR 0x00000008 |
#define TEXT_PASSWORD 0x00000100 |
password display with '*'
#define TEXT_READONLY 0x00000004 |
#define TEXT_READONLYCOPY 0x00000024 |
readonly but "copyable"
#define TOGGLEICONATTR_ALLOWSINGLESHOT 0x00000001 |
ToggleIcon Dialog Item Attributes.
SingleShot mode is allowed
#define TOOLBOXATTR_DONTADDOPENCMD 0x00000002 |
#define TOOLBOXATTR_DONTSHOWINTOOLBOXLIST 0x00000004 |
#define TOOLBOXATTR_INDEPENDENT 0x00000010 /* MSDialog size not tied to size of ToolBox - can be positioned within a MSDialog */ |
#define TOOLBOXATTR_NORIGHTCLICKMENU 0x00000008 /* Don't show a menu on button right-click */ |
#define TOOLBOXATTR_SEPARATORATEND 0x00000001 |
ToolBox Attributes.
#define TREEATTR_COLHEADINGBORDERS 0x00010000 /* Draw borders around the column headings */ |
#define TREEATTR_DLOGBGCOLOR 0x00080000 /* Use DLOGBACKGROUND color instead of BACKGROUND */ |
#define TREEATTR_DOUBLECLICKEXPANDS 0x04000000 /* Double-clicking a row expands/collapses it */ |
#define TREEATTR_DRAGSELECTION 0x00000100 /* can select by dragging */ |
#define TREEATTR_DROPBETWEENROWS 0x40000000 /* Drop target is between displayable rows */ |
#define TREEATTR_DROPWHOLEITEM 0x20000000 /* Drop target is whole item as opposed to on parent nodes */ |
#define TREEATTR_DYNAMICSCROLL 0x00008000 /* scroll as slider moves */ |
#define TREEATTR_EDITABLE 0x00400000 /* Editable cells */ |
#define TREEATTR_EXTENDEDSELECTION 0x00000200 /* can select by Ctrl-click & Shift-click */ |
#define TREEATTR_FOCUSOUTLOOK 0x10000000 /* Selected items use different colors when !hasFocus */ |
#define TREEATTR_GRID 0x00800000 /* Draw grid around cells */ |
#define TREEATTR_HIGHLIGHTROW 0x02000000 /* Highlight entire row */ |
#define TREEATTR_HORIZSCROLLBAR 0x00100000 /* Display horizontal scroll bar if needed */ |
#define TREEATTR_INDEPENDENTCOLS 0x00004000 /* columns can be individually selected */ |
#define TREEATTR_LABELONSIDE 0x00001000 /* label on side, not above */ |
#define TREEATTR_LINESDIM 0x00000800 /* dim the solid or dotted lines */ |
#define TREEATTR_LINESDOTTED 0x00000400 /* display dotted lines linking nodes */ |
#define TREEATTR_MULTISELECTION 0x00000080 /* can select multiple nodes */ |
#define TREEATTR_NOAUTOSCROLL 0x00000020 /* Don't auto scroll tree on row expansion */ |
#define TREEATTR_NOELLIPSES 0x80000000 /* Columns will not show ellipses when truncated. */ |
#define TREEATTR_NOHANDLES 0x00000004 /* Don't show expansion symbols */ |
#define TREEATTR_NOICONS 0x00000010 /* Don't draw icons */ |
#define TREEATTR_NOKEYSEARCH 0x00000040 /* Don't search upon key press */ |
#define TREEATTR_NOLINES 0x00000008 /* Don't show lines linking nodes */ |
#define TREEATTR_NOROOTHANDLE 0x00000002 /* Don't display root node handle */ |
#define TREEATTR_NOSHOWROOT 0x00000001 /* Don't display root node */ |
Tree Dialog Item Attributes.
#define TREEATTR_RESIZABLECOLUMNS (0x00020000|TREEATTR_COLHEADINGBORDERS) |
#define TREEATTR_RIGHTCLICKSTOHOOK 0x08000000 /* Send right button clicks to hook */ |
#define TREEATTR_SAVECOLUMNINFO 0x00200000 /* Save column positions and sort info */ |
#define TREEATTR_SEPARATORS 0x00040000 /* Allow '-' to signify separator */ |
#define TREEATTR_TRAVERSAL 0x01000000 /* Draw overall traversal rectangle */ |
#define TREECOLATTR_EDITABLE 0x00000200 /* This column is editable, regardless of TREEATTR_EDITABLE */ |
#define TREECOLATTR_NODISPLAYLABEL 0x00000400 /* Don't display the label - useful when display icons in heading */ |
#define TREECOLATTR_NOEDIT 0x00000100 /* Used w/ TREEATTR_EDITABLE ... This column is not editable */ |
#define UPDNATTR_DIRMASK 0x0006 |
Left/Right arrows direction mask
#define UPDNATTR_HORIZONTAL 0x0004 |
Use Left/Right arrows
#define UPDNATTR_INVERT 0x0001 |
UpDownButtons Dialog Item Attributes.
Up/Left arrow increases value
#define UPDNATTR_VERTICAL 0x0002 |
Use Up/Down arrows
#define VSTACK_SECTION_SPACING YC*5/6 |
Vertical spacing between sections in a VStackPanel
#define VSTACK_VSPACING ROW_SPACING |
Vertical spacing between items in a VStackPanel
#define WIDTH_FILELISTDIRS_LISTBOX (14) |
#define WIDTH_FILELISTFILES_LISTBOX (14) |
#define WIDTH_FILELISTNAMES_LISTBOX (33) |
#define WIDTH_FILEOPENDIRS_LISTBOX (14) |
#define WIDTH_FILEOPENFILES_LISTBOX (14) |
#define XC XC_DEFAULT |
#define XC_3_2 (XC*3/2) |
Convenience macros for common layouts in layouts.r and in your own layouts.
XC * 3/2
#define XC_DEFAULT (DCOORD_RESOLUTION/2) |
#define YC YC_DEFAULT |
#define YC_DEFAULT DCOORD_RESOLUTION |
typedef DialogItemListRsc CmdItemListRsc |
typedef DItem_ListRsc DItem_ListBoxRsc |
ListBox dialog item resource.
Pulldown Option Menu Item Resource.
typedef IdListRsc DItem_RadioButtonListRsc |
RadioButton List Resource.
typedef ItemListRsc DItem_SynonymsRsc |
Item Synonyms Structure.
typedef DItem_MenuBarRsc DItem_WindowMenuRsc |
enum ActionButtonValue |
enum GridWidthPolicy |
enum HorizontalAlignment |
Enumerator | |
---|---|
EXTINTATTR_HOOKID | |
EXTINTATTR_HOOKARG | |
EXTINTATTR_DBPAGENUMBER | |
EXTINTATTR_ITEMATTRS | |
EXTINTATTR_DROPSOURCE | |
EXTINTATTR_DROPTARGET | |
EXTINTATTR_RCLICK_MENUID | |
EXTINTATTR_MARGIN |
Margin for left, top, right & bottom when in a layout; use margin= to override.
|
EXTINTATTR_MARGIN_LEFT |
Left margin when in a layout; use marginLeft= to override. |
EXTINTATTR_MARGIN_TOP |
Top margin when in a layout; use marginTop= to override. |
EXTINTATTR_MARGIN_RIGHT |
Right margin when in a layout; use marginRight= to override. |
EXTINTATTR_MARGIN_BOTTOM |
Bottom margin when in a layout; use marginBottom= to override. |
EXTINTATTR_SPACING |
Spacing for a Layout; use spacing=, hSpacing= or vSpacing to override. |
EXTINTATTR_STRETCH |
Stretch for an Item or Layout; use stretch= to override. |
EXTINTATTR_DOCK_POSITION |
Dock Position in a DockLayout; Valid values come from the DockPosition enum. Use dockPosition= to override; valid values are: 'left', 'top', 'right', 'bottom', 'fill' |
EXTINTATTR_COLUMN |
Column in a GridLayout; use column= to override. |
EXTINTATTR_COLSPAN |
Column Span in a GridLayout; use colSpan= to override. |
EXTINTATTR_ROW |
Row in a GridLayout; use row= to override. |
EXTINTATTR_ROWSPAN |
Row Span in a GridLayout; use rowSpan= to override. |
EXTINTATTR_HORIZONTAL_ALIGNMENT |
Horizontal Alignment in a GridLayout or StackLayout; Valid values come from the HorizontalAlignment enum. Use horizontalAlignment= to override; valid values are: 'left', 'right', 'center', 'stretch' |
EXTINTATTR_VERTICAL_ALIGNMENT |
Vertical Alignment in a GridLayout or StackLayout; Valid values come from the VerticalAlignment enum. Use verticalAlignment= to override; valid values are: 'top', 'bottom', 'center', 'stretch' |
EXTINTATTR_HORIZONTAL_SIZEPOLICY |
Horizontal Size Policy when in a layout; Valid values come from the SizePolicyType enum.
|
EXTINTATTR_VERTICAL_SIZEPOLICY |
Vertical Size Policy when in a layout; Valid values come from the SizePolicyType enum.
|
EXTINTATTR_MINWIDTH |
Minimum Width when in a layout; use minWidth= to override. |
EXTINTATTR_MINHEIGHT |
Minimum Height when in a layout; use minHeight= to override. |
EXTINTATTR_MAXWIDTH |
Maximum Width when in a layout; use maxWidth= to override. |
EXTINTATTR_MAXHEIGHT |
Maximum Height when in a layout; use maxHeight= to override. |
EXTINTATTR_GRID_WIDTHPOLICY |
Width policy when in a GridLayout. Valid values come from the GridWidthPolicy enum. Use gridWidthPolicy= to override; valid values are: 'default', 'fixed', 'ignored' |
enum MenuMarkType |
enum VerticalAlignment |
bool CheckMinMaxSize | ( | BSize & | size | ) |
Checks the given size of the dialog against the minimum and maximum sizes of the dialog.
[in,out] | size | the current size of the dialog to check. The size is updated if the given size was smaller than the minimum or larger than the maximum. |
|
static |
Creates a GuiLayoutHelper to wrap the given MSDialog.
[in] | gdP | the MSDialog to wrap for dialog layout purposes |
|
static |
Creates a GuiLayoutControl to wrap the given DialogItem.
[in] | layoutHelperP | the GuiLayoutHelper associated with the owning MSDialog |
[in] | diP | the DialogItem to wrap for layout purposes |
[in] | sp | the SizePolicy of the DialogItem. This defaults to (Preferred, Preferred). |
[in] | minSize | the minimum size of the DialogItem. This defaults to (0,0). |
|
static |
Creates a GuiLayoutLabel to wrap the given Label dialog item.
[in] | layoutHelperP | the GuiLayoutHelper associated with the owning MSDialog |
[in] | diP | the DialogItem to wrap for layout purposes |
[in] | sp | the SizePolicy of the DialogItem. This defaults to (Minimum, Fixed). |
[in] | attachedToItem | whether this label is part of another item. This defaults to false. |
|
static |
Creates a GuiLayoutContainerPanel to wrap the given ContainerPanel dialog item.
[in] | layoutHelperP | the GuiLayoutHelper associated with the owning MSDialog |
[in] | diP | the DialogItem to wrap for layout purposes |
[in] | sp | the SizePolicy of the DialogItem. This defaults to (Minimum, Minimum). |
[in] | minSize | the minimum size of the DialogItem. This defaults to (0,0). |
|
static |
Creates a GuiLayoutTabPageList to wrap the given TabPageList dialog item.
[in] | layoutHelperP | the GuiLayoutHelper associated with the owning MSDialog |
[in] | diP | the DialogItem to wrap for layout purposes |
[in] | sp | the SizePolicy of the DialogItem. This defaults to (Minimum, Minimum). |
[in] | minSize | the minimum size of the DialogItem. This defaults to (0,0). |
|
static |
Creates a GuiLayoutSeparator to wrap the given Separator dialog item.
[in] | layoutHelperP | the GuiLayoutHelper associated with the owning MSDialog |
[in] | diP | the DialogItem to wrap for layout purposes |
[in] | sp | the SizePolicy of the DialogItem. This defaults to (Minimum, Minimum). |
[in] | minSize | the minimum size of the DialogItem. This defaults to (0,0). |
|
static |
Creates a GuiSplitterHandle to wrap the given Sash dialog item.
[in] | layoutHelperP | the GuiLayoutHelper associated with the owning MSDialog |
[in] | layoutP | the SplitterLayout to own this SplitterHandle |
[in] | diP | the DialogItem to wrap for layout purposes |
[in] | sp | the SizePolicy of the DialogItem. This defaults to (Preferred, Preferred). |
[in] | minSize | the minimum size of the DialogItem. This defaults to (0,0). |
|
overridevirtual |
Returns the recommended minimum size for the control.
Reimplemented from LayoutControl.
Reimplemented in GuiLayoutTabPageList, and GuiLayoutContainerPanel.
|
overridevirtual |
Returns the recommended minimum size for the control.
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Returns the recommended minimum size for the control.
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Returns the recommended minimum size for the control.
Reimplemented from LayoutControl.
|
overridevirtual |
Returns the desired size for this control.
Reimplemented from LayoutControl.
Reimplemented in GuiLayoutSeparator.
|
overridevirtual |
Returns the desired size for this control.
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Returns the preferred height for this control, given a certain width.
[in] | width | The width for which to retrieve the preferred height. |
Reimplemented from LayoutControl.
|
overridevirtual |
Returns the preferred height for this control, given a certain width.
[in] | width | The width for which to retrieve the preferred height. |
Reimplemented from LayoutControl.
|
overridevirtual |
Returns the preferred height for this control, given a certain width.
[in] | width | The width for which to retrieve the preferred height. |
Reimplemented from LayoutControl.
void GetLabel | ( | WStringR | label | ) |
Retrieves the label string.
|
overridevirtual |
Returns the maximum size for the control.
Reimplemented from LayoutControl.
|
overridevirtual |
Returns the maximum size for the control.
Reimplemented from LayoutControl.
|
overridevirtual |
Returns the minimum size for the control.
Reimplemented from LayoutControl.
Reimplemented in GuiLayoutTabPageList, and GuiLayoutContainerPanel.
|
overridevirtual |
Returns the minimum size for the control.
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Returns the minimum size for the control.
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Returns the minimum size for the control.
Reimplemented from LayoutControl.
bool IsSuspended | ( | ) |
Checks whether a layout suspend block is in progress.
|
virtual |
Notifies the Layout Manager that the size of the control has changed and the layout needs to be updated.
GuiLayoutHelperP mdlDialog_getLayoutHelper | ( | MSDialogP | dbP | ) |
Gets the GuiLayoutHelper object pointer for this MSDialog.
The GuiLayoutHelper aids in dynamic layout management of items within the dialog.
[in] | dbP | a pointer to the MSDialog |
StatusInt mdlDialog_resumeLayout | ( | MSDialogP | dbP | ) |
Resume the layout for a Dialog Box.
[in] | dbP | is the dialog to process. |
StatusInt mdlDialog_setLayoutHelper | ( | MSDialogP | dbP, |
GuiLayoutHelperP | layoutHelperP | ||
) |
Sets the GuiLayoutHelper object pointer for this MSDialog.
The GuiLayoutHelper aids in dynamic layout management of items within the dialog.
[in] | dbP | a pointer to the MSDialog |
[in] | layoutHelperP | a pointer to the GuiLayoutHelper object |
StatusInt mdlDialog_suspendLayout | ( | MSDialogP | dbP | ) |
Suspends the layout for a Dialog Box.
[in] | dbP | is the dialog to process. |
|
overridevirtual |
Moves the dialog to the given point.
[in] | point | the position to move the dialog to |
Implements LayoutControl.
|
overridevirtual |
Moves the control to a new point.
[in] | point | the position to move the control to |
Implements LayoutControl.
Reimplemented in GuiLayoutTabPageList, GuiLayoutContainerPanel, and GuiLayoutLabel.
|
overridevirtual |
Moves the control to a new point.
[in] | point | the position to move the control to |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Moves the control to a new point.
[in] | point | the position to move the control to |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Moves the control to a new point.
[in] | point | the position to move the control to |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Moves the control to a new point.
[in] | point | the position to move the control to |
Implements LayoutControl.
|
overridevirtual |
Moves the SplitterHandle to a new position.
[in] | pos | The new position of the SplitterHandle. |
Reimplemented from SplitterHandle.
|
overridevirtual |
Position has been bound to Minimum or Maximum.
This gives the SplitterHandle a chance to compensate.
[in] | givenPosition | The position provided to MoveSplitter. |
[in] | boundPosition | The bound position. |
[in] | boundType | The type of bound action. |
Reimplemented from SplitterHandle.
void Refresh | ( | ) |
Refreshes the layout of the dialog and redraws the contents.
|
overridevirtual |
Resizes the dialog to the given size.
[in] | size | the new size of the dialog |
Implements LayoutControl.
|
overridevirtual |
Resizes the control to the given size.
[in] | size | the new size of the control |
Implements LayoutControl.
Reimplemented in GuiLayoutTabPageList, GuiLayoutContainerPanel, and GuiLayoutLabel.
|
overridevirtual |
Resizes the control to the given size.
[in] | size | the new size of the control |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Resizes the control to the given size.
[in] | size | the new size of the control |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Resizes the control to the given size.
[in] | size | the new size of the control |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Resizes the control to the given size.
[in] | size | the new size of the control |
Implements LayoutControl.
void ResumeLayout | ( | ) |
Resumes the layout after being suspended.
|
overridevirtual |
Resizes and repositions the dialog to the given rectangle.
[in] | rect | the rectangle representing the new size and position of the dialog |
Reimplemented from LayoutControl.
|
overridevirtual |
Resizes and repositions the control to the given rectangle.
[in] | rect | the rectangle representing the new size and position of the control |
Reimplemented from LayoutControl.
Reimplemented in GuiLayoutTabPageList, GuiLayoutContainerPanel, and GuiLayoutLabel.
|
overridevirtual |
Resizes and repositions the control to the given rectangle.
[in] | rect | the rectangle representing the new size and position of the control |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Resizes and repositions the control to the given rectangle.
[in] | rect | the rectangle representing the new size and position of the control |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Resizes and repositions the control to the given rectangle.
[in] | rect | the rectangle representing the new size and position of the control |
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Resizes and repositions the control to the given rectangle.
[in] | rect | the rectangle representing the new size and position of the control |
Reimplemented from LayoutControl.
|
overridevirtual |
Shows the dialog if it is not hidden.
Implements LayoutControl.
|
overridevirtual |
Shows the control if it is not hidden.
Implements LayoutControl.
Reimplemented in GuiLayoutTabPageList, GuiLayoutContainerPanel, and GuiLayoutLabel.
|
overridevirtual |
Shows the control if it is not hidden.
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Shows the control if it is not hidden.
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Shows the control if it is not hidden.
Reimplemented from GuiLayoutControl.
|
overridevirtual |
Shows the control if it is not hidden.
Implements LayoutControl.
void SuspendLayout | ( | ) |
Suspends the layout as child items are changed.
|
virtual |
Notifies the Layout Manager that the visibility of the control has changed and the layout needs to be updated.
void WindowSizeDoLayout | ( | const BSize & | size | ) |
Notifies the Layout Manager that the size of the dialog has changed and the layout needs to be updated.
[in] | size | the updated size of the dialog |