Classes | Macros | Typedefs | Enumerations
dlogitem.h File Reference
#include "mdl.h"
#include "dlogbox.r.h"
#include "dlogmsg.r.h"
#include <DgnPlatform\ColorUtil.h>
#include <Mstn\MstnDefs.h>
#include "msinputq.h"
#include "rscdefs.r.h"
#include "treemodel.h"
#include "vartypes.h"
#include "mstypes.h"
#include "msvaluedescr.h"
#include "DialogItem.h"

Go to the source code of this file.

Classes

struct  DialogItemHandler
 Dialog Item Handler functions "Publishing" structure. More...
 
struct  DialogItemHandlerInfo
 Dialog Item Handler Information. More...
 
struct  RawItemHdr
 RawItemHdr structure - contains info usually specified in item resources and other item type specific info. More...
 
struct  MouseWheelEventData
 Mouse Wheel Event Data. More...
 
struct  DialogHookInterests
 Dialog Hook Interests - Sent in the DialogCreateArgs for the DIALOG_MESSAGE_CREATE message. More...
 
struct  MotionFuncArg
 Motion Function Arguments Structure. More...
 
struct  DialogHookResolveArgs
 DIALOG_MESSAGE_HOOKRESOLVE message arguments. More...
 
struct  DialogCreateArgs
 DIALOG_MESSAGE_CREATE message arguments. More...
 
struct  DialogInitArgs
 DIALOG_MESSAGE_INIT message arguments. More...
 
struct  DialogActionButtonArgs
 DIALOG_MESSAGE_ACTIONBUTTON message arguments. More...
 
struct  DialogActivateArgs
 DIALOG_MESSAGE_ACTIVATE message arguments. More...
 
struct  DialogAnotherOpenedArgs
 DIALOG_MESSAGE_ANOTHEROPENED message arguments. More...
 
struct  DialogAnotherClosedArgs
 DIALOG_MESSAGE_ANOTHERCLOSED message arguments. More...
 
struct  DialogAttachArgs
 DIALOG_MESSAGE_ATTACH message arguments. More...
 
struct  DialogAutoHideStateArgs
 DIALOG_MESSAGE_AUTOHIDESTATE message arguments. More...
 
struct  DialogBeforeDestroyArgs
 DIALOG_MESSAGE_BEFOREDESTROY message arguments. More...
 
struct  DialogBeforeUndockArgs
 DIALOG_MESSAGE_BEFOREUNDOCK message arguments. More...
 
struct  DialogButtonArgs
 DIALOG_MESSAGE_BUTTON message arguments. More...
 
struct  DialogCalcSizeArgs
 DIALOG_MESSAGE_CALCSIZE message arguments. More...
 
struct  DialogChildDestroyedArgs
 DIALOG_MESSAGE_CHILDDESTROYED message arguments. More...
 
struct  DialogDestroyArgs
 DIALOG_MESSAGE_DESTROY message arguments. More...
 
struct  DialogDockingStateArgs
 DIALOG_MESSAGE_DOCKINGSTATE message arguments. More...
 
struct  DialogDockedExtentArgs
 DIALOG_MESSAGE_DOCKEDEXTENT message arguments. More...
 
struct  DialogDropTargetArgs
 DIALOG_MESSAGE_DROPTARGET message arguments. More...
 
struct  DialogFocusInArgs
 DIALOG_MESSAGE_FOCUSIN message arguments. More...
 
struct  DialogFocusOutArgs
 DIALOG_MESSAGE_FOCUSOUT message arguments. More...
 
struct  DialogFontChangedArgs
 DIALOG_MESSAGE_FONTCHANGED message arguments. More...
 
struct  DialogHideArgs
 DIALOG_MESSAGE_HIDE message arguments. More...
 
struct  DialogKeystrokeArgs
 DIALOG_MESSAGE_KEYSTROKE message arguments. More...
 
struct  DialogMaximizeArgs
 DIALOG_MESSAGE_MAXIMIZE message arguments. More...
 
struct  DialogMinimizeArgs
 DIALOG_MESSAGE_MINIMIZE message arguments. More...
 
struct  DialogMotionArgs
 DIALOG_MESSAGE_MOTION message arguments. More...
 
struct  DialogMouseWheelArgs
 DIALOG_MESSAGE_MOUSEWHEEL message arguments. More...
 
struct  DialogResizeArgs
 DIALOG_MESSAGE_RESIZE message arguments. More...
 
struct  DialogRestoredArgs
 DIALOG_MESSAGE_RESTORED message arguments. More...
 
struct  DialogScreenChangeArgs
 DIALOG_MESSAGE_SCREENCHANGE message arguments. More...
 
struct  DialogStateChangedArgs
 DIALOG_MESSAGE_STATECHANGED message arguments. More...
 
struct  DialogTitleChangedArgs
 DIALOG_MESSAGE_TITLECHANGED message arguments. More...
 
struct  DialogUpdateArgs
 DIALOG_MESSAGE_UPDATE message arguments. More...
 
struct  DialogUserArgs
 DIALOG_MESSAGE_USER message arguments. More...
 
struct  DialogWindowMovingArgs
 DIALOG_MESSAGE_WINDOWMOVING message arguments. More...
 
struct  DialogMessage
 Dialog Message Structure. More...
 
struct  DialogHookHandler
 Dialog Hook Handler. More...
 
struct  AdjustItem
 AdjustItem Structure - use in call to mdlDialog_itemsAdjust*. More...
 
struct  EditMenuInfo
 Edit Popup Menu Information. More...
 
struct  DItem_PulldownMenu
 
struct  DialogItemMnemonic
 DialogItemMnemonic Structure. More...
 
struct  DialogItemHookResolveArgs
 DITEM_MESSAGE_HOOKRESOLVE message arguments. More...
 
struct  DialogItemCreateArgs
 DITEM_MESSAGE_CREATE message arguments. More...
 
struct  DialogItemInitArgs
 DITEM_MESSAGE_INIT message arguments. More...
 
struct  DialogItemActivateArgs
 DITEM_MESSAGE_ACTIVATE message arguments. More...
 
struct  DialogItemAllCreatedArgs
 DITEM_MESSAGE_ALLCREATED message arguments. More...
 
struct  DialogItemAutoUpdateArgs
 DITEM_MESSAGE_AUTOUPDATE message arguments. More...
 
struct  DialogItemButtonArgs
 DITEM_MESSAGE_BUTTON & DITEM_MESSAGE_RESETPREBUTTON message arguments. More...
 
struct  DialogItemDrawArgs
 DITEM_MESSAGE_DRAW message arguments. More...
 
struct  DialogItemDropSourceArgs
 DITEM_MESSAGE_DROPSOURCE message arguments. More...
 
struct  DialogItemDropTargetArgs
 DITEM_MESSAGE_DROPTARGET message arguments. More...
 
struct  DialogItemFocusInArgs
 DITEM_MESSAGE_FOCUSIN message arguments. More...
 
struct  DialogItemFocusOutArgs
 DITEM_MESSAGE_FOCUSOUT message arguments. More...
 
struct  DialogItemFontChangedArgs
 DITEM_MESSAGE_FONTCHANGED message arguments. More...
 
struct  DialogItemEditMenuInfoArgs
 DITEM_MESSAGE_GETEDITMENUINFO message arguments. More...
 
struct  DialogItemHideArgs
 DITEM_MESSAGE_HIDE message arguments. More...
 
struct  DialogItemHighlightArgs
 DITEM_MESSAGE_HIGHLIGHT message arguments. More...
 
struct  DialogItemKeystrokeArgs
 DITEM_MESSAGE_KEYSTROKE & DITEM_MESSAGE_POSTKEYSTROKE message arguments. More...
 
struct  DialogItemLayoutArgs
 DITEM_MESSAGE_LAYOUT message arguments. More...
 
struct  DialogItemMotionArgs
 DITEM_MESSAGE_MOTION message arguments. More...
 
struct  DialogItemMouseWheelArgs
 DITEM_MESSAGE_MOUSEWHEEL message arguments. More...
 
struct  DialogItemMoveArgs
 DITEM_MESSAGE_MOVE message arguments. More...
 
struct  DialogItemNoMotionArgs
 DITEM_MESSAGE_NOMOTION message arguments. More...
 
struct  DialogItemObscuredArgs
 DITEM_MESSAGE_OBSCURED message arguments. More...
 
struct  DialogItemUnobscuredArgs
 DITEM_MESSAGE_UNOBSCURED message arguments. More...
 
struct  DialogItemPopupArgs
 DITEM_MESSAGE_POPUP message arguments. More...
 
struct  DialogItemPopupClosedArgs
 DITEM_MESSAGE_POPUPCLOSED message arguments. More...
 
struct  DialogItemPopupCreatedArgs
 DITEM_MESSAGE_POPUPCREATED message arguments. More...
 
struct  DialogItemQueueCommandArgs
 DITEM_MESSAGE_QUEUECOMMAND message arguments. More...
 
struct  DialogItemRedirectArgs
 DITEM_MESSAGE_REDIRECT message arguments. More...
 
struct  DialogItemReloadDataArgs
 DITEM_MESSAGE_RELOADDATA message arguments. More...
 
struct  DialogItemScreenChangeArgs
 DITEM_MESSAGE_SCREENCHANGE message arguments. More...
 
struct  DialogItemScrollingArgs
 DITEM_MESSAGE_SCROLLING message arguments. More...
 
struct  DialogItemSetEnabledStateArgs
 DITEM_MESSAGE_SETENABLEDSTATE message arguments. More...
 
struct  DialogItemSetExtentArgs
 DITEM_MESSAGE_SETEXTENT & DITEM_MESSAGE_POSTSETEXTENT message arguments. More...
 
struct  DialogItemSetLabelArgs
 DITEM_MESSAGE_SETLABEL message arguments. More...
 
struct  DialogItemSetNamedItemArgs
 DITEM_MESSAGE_SETNAMEDITEM message arguments. More...
 
struct  DialogItemStateChangingArgs
 DITEM_MESSAGE_STATECHANGING message arguments. More...
 
struct  DialogItemSynchronizeArgs
 DITEM_MESSAGE_SYNCHRONIZE message arguments. More...
 
struct  DialogItemStateChangedArgs
 DITEM_MESSAGE_STATECHANGED message arguments. More...
 
struct  DialogItemUserArgs
 DITEM_MESSAGE_USER message arguments. More...
 
struct  DialogItemValueArgs
 DITEM_MESSAGE_GETSTATE & DITEM_MESSAGE_SETSTATE message arguments. More...
 
struct  DialogItemWindowMovingArgs
 DITEM_MESSAGE_WINDOWMOVING message arguments. More...
 
struct  DialogItemChildDrawBgArgs
 DITEM_MESSAGE_CHILDDRAWBG message arguments. More...
 
struct  DialogItemCleanUpArgs
 DITEM_MESSAGE_CLEANUP message arguments. More...
 
struct  DialogItemShowHelpArgs
 DITEM_MESSAGE_SHOWHELP message arguments. More...
 
struct  DialogItemHandlerLoadedArgs
 DITEM_MESSAGE_HANDLERLOADED message arguments. More...
 
struct  DialogItemGetMnemonicsArgs
 DITEM_MESSAGE_GETMNEMONICS message arguments. More...
 
struct  DialogItemLinkLabelArgs
 DITEM_MESSAGE_LINKLABEL message arguments. More...
 
struct  DialogItemDropArgs
 DITEM_MESSAGE_DROPFROM message arguments. More...
 
struct  DialogItemStartDragArgs
 DITEM_MESSAGE_STARTDRAG message arguments. More...
 
struct  DialogItemMessage
 Dialog Item Message Structures. More...
 
struct  DialogItemGetStateArgs
 OnGetState method arguments. More...
 
struct  DialogItemGetValueArgs
 OnGetValue method arguments. More...
 
struct  DialogItemSetStateArgs
 OnSetState method arguments. More...
 
struct  DialogItemSetValueArgs
 OnSetValue method arguments. More...
 
struct  DialogItemJournalStateArgs
 OnJournalState method arguments. More...
 
struct  DialogItemHookHandler
 Dialog Item Hook Handler. More...
 
struct  DialogHookInfo
 Dialog Hook functions "Publishing" structure Used for both dialog hooks & dialog item hooks. More...
 
struct  ColorPicker_SetColorTable
 
struct  DItem_PulldownMenuItem
 Pulldown Menu Item. More...
 
struct  TextPDM_Item
 Text Pulldown Menu item info. More...
 
struct  TextPDM_ItemModify
 Text Pulldown Menu item modify flags. More...
 
struct  PulldownTrackingInfo
 Pulldown Menu Tracking Information. More...
 
struct  PulldownMenuMessage
 Pulldown Menu Message. More...
 
struct  Sash_ButtonUpAuxInfo
 Sash Item Auxiliary Info. More...
 
struct  Scale_FormatValue
 Scale Item Format Value Send and filled in as a result of the SCALE_AUXMESSAGE_FORMATVALUE message. More...
 
struct  Scale_MotionFuncArg
 Scale Item Motion Function Arguments. More...
 
struct  CompletionBarInfo
 Completion Bar Processing Information. More...
 
struct  TrackBarInfo
 Track Bar Processing Information. More...
 

Macros

#define INVALID_ITEM   (-1)
 
#define BUTTONTIMEOUT_CLICK   0 /* down to up > dClickTime/2 */
 
#define BUTTONTIMEOUT_DOUBLECLICK   1 /* down to down > dclickTime */
 
#define MVHND_OFFSET   5
 
#define GUIDROPEFFECT_NONE   0x00000000
 
#define GUIDROPEFFECT_COPY   0x00000001
 
#define GUIDROPEFFECT_MOVE   0x00000002
 
#define GUIDROPEFFECT_LINK   0x00000004
 
#define GUIDROPEFFECT_SCROLL   0x80000000
 
#define BUTTONUPMASK_COULDSETSTATE   0x0001
 
#define BUTTONUPMASK_KEEPMOUSE   0x0002
 
#define BUTTONUPMASK_HOOKHANDLED   0x0004
 
#define BUTTONUPMASK_KEEPMOUSEMOTION   0x0008
 
#define BUTTONDOWNMASK_KEEPNOLONGER   0x0010
 
#define LISTCELLATTR_HIGHLIGHT   0x01
 ListCell Attributes. More...
 
#define LISTCELLATTR_DISABLED   0x02
 
#define DISTATUS_NEEDVERTSCROLLBAR   0x00000001
 ListBox / ComboBox status. More...
 
#define DISTATUS_NEEDHORIZSCROLLBAR   0x00000002
 
#define HEADER_ROW_INDEX   -2
 Special ListBox Row Index values. More...
 
#define FILTER_ROW_INDEX   -3
 
#define COLORPICKER_AUXMESSAGE_SETCOLORTABLE   1
 Color Picker Item Auxiliary Messages. More...
 
#define PDMENU_MESSAGE_ACTIVATEITEM   216
 
#define SCALE_AUXMESSAGE_FORMATVALUE   50
 
#define TREECELLATTR_HIGHLIGHT   0x00000001 /* cell is highlighted */
 
#define TREECELLATTR_DISABLED   0x00000002 /* cell is unselectable */
 
#define TREENODEATTR_ALLOWSCHILDREN   0x00000010 /* node allows children below */
 
#define TREENODEATTR_EXPANDED   0x00000020 /* parent node is expanded */
 
#define TREENODEATTR_DISPLAYABLE   0x00000040 /* node is displayable */
 
#define UPDATE_Percent1   1
 
#define UPDATE_Percent2   2
 
#define UPDATE_Msg1   4
 
#define UPDATE_Msg2   8
 
#define UPDATE_All   15
 
#define USERMSG_BYLEVELBTN_SETLEVEL   0 /* Used with PUSHBUTTONID_ColorByLevel to set the level for the ByLevel color */
 
#define MANAGED_POPUP_WINDOW_PADDING   2 /* Additional padding used when hosting .Net forms as popups to help with auto-hide detection. */
 

Typedefs

typedef
typedefUSING_NAMESPACE_BENTLEY_MSTNPLATFORM
struct IDataObject 
GuiDataObject
 
typedef struct mdlDesc MdlDesc
 
typedef struct UICriteriaUICriteriaP
 
typedef void(* PFDialogHook )(void *)
 
typedef void(* PFDialogBoxHook )(DialogMessageP)
 
typedef void(* PFDialogItemHook )(DialogItemMessageP)
 
typedef void(* PFDialogItemHandler )(DialogItemMessageP)
 
typedef void(* MdlMotionFuncP )(MotionFuncArg *)
 
typedef DialogHookResolveArgsDialogHookResolveArgsR
 
typedef DialogCreateArgsDialogCreateArgsR
 
typedef DialogInitArgsDialogInitArgsR
 
typedef DialogActionButtonArgsDialogActionButtonArgsR
 
typedef DialogActivateArgsDialogActivateArgsR
 
typedef DialogAnotherOpenedArgsDialogAnotherOpenedArgsR
 
typedef DialogAnotherClosedArgsDialogAnotherClosedArgsR
 
typedef DialogAttachArgsDialogAttachArgsR
 
typedef DialogAutoHideStateArgsDialogAutoHideStateArgsR
 
typedef DialogBeforeDestroyArgsDialogBeforeDestroyArgsR
 
typedef DialogBeforeUndockArgsDialogBeforeUndockArgsR
 
typedef DialogButtonArgsDialogButtonArgsR
 
typedef DialogCalcSizeArgsDialogCalcSizeArgsR
 
typedef DialogChildDestroyedArgsDialogChildDestroyedArgsR
 
typedef DialogDestroyArgsDialogDestroyArgsR
 
typedef DialogDockingStateArgsDialogDockingStateArgsR
 
typedef DialogDockedExtentArgsDialogDockedExtentArgsR
 
typedef DialogDropTargetArgsDialogDropTargetArgsR
 
typedef DialogFocusInArgsDialogFocusInArgsR
 
typedef DialogFocusOutArgsDialogFocusOutArgsR
 
typedef DialogFontChangedArgsDialogFontChangedArgsR
 
typedef DialogHideArgsDialogHideArgsR
 
typedef DialogKeystrokeArgsDialogKeystrokeArgsR
 
typedef DialogMaximizeArgsDialogMaximizeArgsR
 
typedef DialogMinimizeArgsDialogMinimizeArgsR
 
typedef DialogMotionArgsDialogMotionArgsR
 
typedef DialogMouseWheelArgsDialogMouseWheelArgsR
 
typedef DialogResizeArgsDialogResizeArgsR
 
typedef DialogRestoredArgsDialogRestoredArgsR
 
typedef DialogScreenChangeArgsDialogScreenChangeArgsR
 
typedef DialogStateChangedArgsDialogStateChangedArgsR
 
typedef DialogTitleChangedArgsDialogTitleChangedArgsR
 
typedef DialogUpdateArgsDialogUpdateArgsR
 
typedef DialogUserArgsDialogUserArgsR
 
typedef DialogWindowMovingArgsDialogWindowMovingArgsR
 
typedef DialogItemCreateArgsDialogItemCreateArgsR
 
typedef DialogItemInitArgsDialogItemInitArgsR
 
typedef DialogItemActivateArgsDialogItemActivateArgsR
 
typedef DialogItemAllCreatedArgsDialogItemAllCreatedArgsR
 
typedef DialogItemAutoUpdateArgsDialogItemAutoUpdateArgsR
 
typedef DialogItemButtonArgsDialogItemButtonArgsR
 
typedef DialogItemDrawArgsDialogItemDrawArgsR
 
typedef DialogItemDropSourceArgsDialogItemDropSourceArgsR
 
typedef DialogItemDropTargetArgsDialogItemDropTargetArgsR
 
typedef DialogItemFocusInArgsDialogItemFocusInArgsR
 
typedef DialogItemFocusOutArgsDialogItemFocusOutArgsR
 
typedef DialogItemFontChangedArgsDialogItemFontChangedArgsR
 
typedef
DialogItemEditMenuInfoArgs
DialogItemEditMenuInfoArgsR
 
typedef DialogItemHideArgsDialogItemHideArgsR
 
typedef DialogItemHighlightArgsDialogItemHighlightArgsR
 
typedef DialogItemKeystrokeArgsDialogItemKeystrokeArgsR
 
typedef DialogItemLayoutArgsDialogItemLayoutArgsR
 
typedef DialogItemMotionArgsDialogItemMotionArgsR
 
typedef DialogItemMouseWheelArgsDialogItemMouseWheelArgsR
 
typedef DialogItemMoveArgsDialogItemMoveArgsR
 
typedef DialogItemNoMotionArgsDialogItemNoMotionArgsR
 
typedef DialogItemObscuredArgsDialogItemObscuredArgsR
 
typedef DialogItemUnobscuredArgsDialogItemUnobscuredArgsR
 
typedef DialogItemPopupArgsDialogItemPopupArgsR
 
typedef DialogItemPopupClosedArgsDialogItemPopupClosedArgsR
 
typedef
DialogItemPopupCreatedArgs
DialogItemPopupCreatedArgsR
 
typedef
DialogItemQueueCommandArgs
DialogItemQueueCommandArgsR
 
typedef DialogItemRedirectArgsDialogItemRedirectArgsR
 
typedef DialogItemReloadDataArgsDialogItemReloadDataArgsR
 
typedef
DialogItemScreenChangeArgs
DialogItemScreenChangeArgsR
 
typedef DialogItemScrollingArgsDialogItemScrollingArgsR
 
typedef
DialogItemSetEnabledStateArgs
DialogItemSetEnabledStateArgsR
 
typedef DialogItemSetExtentArgsDialogItemSetExtentArgsR
 
typedef DialogItemSetLabelArgsDialogItemSetLabelArgsR
 
typedef
DialogItemSetNamedItemArgs
DialogItemSetNamedItemArgsR
 
typedef
DialogItemStateChangingArgs
DialogItemStateChangingArgsR
 
typedef DialogItemSynchronizeArgsDialogItemSynchronizeArgsR
 
typedef
DialogItemStateChangedArgs
DialogItemStateChangedArgsR
 
typedef DialogItemUserArgsDialogItemUserArgsR
 
typedef
DialogItemWindowMovingArgs
DialogItemWindowMovingArgsR
 
typedef DialogItemGetStateArgsDialogItemGetStateArgsR
 
typedef DialogItemGetValueArgsDialogItemGetValueArgsR
 
typedef DialogItemSetStateArgsDialogItemSetStateArgsR
 
typedef DialogItemSetValueArgsDialogItemSetValueArgsR
 
typedef
DialogItemJournalStateArgs
DialogItemJournalStateArgsR
 

Enumerations

enum  HideReasonCode {
  HideWindow = 0, Exiting = 1, WindowClose = 2, NoDgnFile = 3,
  UserClose = 4, MdlUnload = 5
}
 Dialog Message Hide Defines. More...
 
enum  FocusOutType {
  None = 0, KeySwitch = 1, ButtonSwitch = 2, SetItem = 3,
  HideItem = 4, DisableItem = 5, SwitchDialog = 10, ApplyDialog = 11
}
 Item Focus Out Types. More...
 
enum  MotionTransType { InItem = 0, Enter = 1, Exit = 2, InDialog = 3 }
 CursorMotion Transition types: used in u.motion.motionTrans. More...
 
enum  GuiDragDropStatus { OK = SUCCESS, Drop, Cancel, Error = ERROR }
 Drag & Drop status. More...
 
enum  GuiDropSourceMsg {
  Begin, Query, PreCancel, PreDrop,
  Drop, End
}
 Drag & Drop - Drop Source Message. More...
 
enum  GuiDropTargetMsg {
  Enter, Over, Leave, Drop,
  QueryCursorUpdate
}
 Drag & Drop - Drop Target Message. More...
 
enum  DockingState { Docking, Docked, Undocking, Undocked }
 Docking State. More...
 
enum  AutoHideState { None, Pinned, UnpinnedCollapsed, UnpinnedExpanded }
 Docking Auto Hide State. More...
 
enum  MessageBoxIconType {
  NoSymbol = 0, Information = 1, Question = 2, Warning = 3,
  Critical = 4, BentleyB = 6, Pantone = 7, VBACompatibility = 8
}
 Message Box Icon Types for mdlDialog_openMessageBox. More...
 
enum  StateChangingType {
  ValueChange, NodeExpanding, NodeCollapsing, PopOpen,
  PopClose, ColumnShow, ColumnHide, TabShow,
  TabHide, NodeExpanded, NodeCollapsed
}
 StateChanging Types. More...
 
enum  StateChangingCause { HandleClick, DoubleClick, Programmatic, Keystroke }
 StateChanging Causes. More...
 
enum  StateChangingResponse { Allow, Disallow, Cancel }
 StateChanging Responses. More...
 
enum  EditMenuItemStatus { Enable = 0, Disable = 1, Remove = 2 }
 Edit Popup Menu Status. More...
 
enum  ViewIconSize { Small = 0, Medium = 1, Large = 2 }
 View icon size flags. More...
 
enum  IconCmdSelectType {
  UseLast = -1, Off = 0, SingleShot = 1, Locked = 2,
  On = Locked, Disabled = 3
}
 IconCmd selection types. More...
 
enum  TextAutoUpdateSpeed {
  Faster, Fast, Medium, Slow,
  Slower
}
 Text AutoUpdate Speed. More...
 
enum  TreeNodePortion {
  None = 0, CellEditor, VerticalScrollBar, HorizontalScrollBar,
  ExpansionHandle, ColumnHeading, Data, HookHandled
}
 Tree Node Portion last clicked. More...
 
enum  NativeContentType { None = 0, MFC = 1, WinForms = 2, WPF = 3 }
 Native Content Type. More...
 

Macro Definition Documentation

#define BUTTONDOWNMASK_KEEPNOLONGER   0x0010
#define BUTTONTIMEOUT_CLICK   0 /* down to up > dClickTime/2 */
#define BUTTONTIMEOUT_DOUBLECLICK   1 /* down to down > dclickTime */
#define BUTTONUPMASK_COULDSETSTATE   0x0001
#define BUTTONUPMASK_HOOKHANDLED   0x0004
#define BUTTONUPMASK_KEEPMOUSE   0x0002
#define BUTTONUPMASK_KEEPMOUSEMOTION   0x0008
#define COLORPICKER_AUXMESSAGE_SETCOLORTABLE   1

Color Picker Item Auxiliary Messages.

#define DISTATUS_NEEDHORIZSCROLLBAR   0x00000002
#define DISTATUS_NEEDVERTSCROLLBAR   0x00000001

ListBox / ComboBox status.

#define FILTER_ROW_INDEX   -3
#define GUIDROPEFFECT_COPY   0x00000001
#define GUIDROPEFFECT_LINK   0x00000004
#define GUIDROPEFFECT_MOVE   0x00000002
#define GUIDROPEFFECT_NONE   0x00000000
#define GUIDROPEFFECT_SCROLL   0x80000000
#define HEADER_ROW_INDEX   -2

Special ListBox Row Index values.

#define INVALID_ITEM   (-1)
#define LISTCELLATTR_DISABLED   0x02

ListBox cell is unselectable

#define LISTCELLATTR_HIGHLIGHT   0x01

ListCell Attributes.

ListBox cell is highlighted

#define MANAGED_POPUP_WINDOW_PADDING   2 /* Additional padding used when hosting .Net forms as popups to help with auto-hide detection. */
#define MVHND_OFFSET   5
#define PDMENU_MESSAGE_ACTIVATEITEM   216
#define SCALE_AUXMESSAGE_FORMATVALUE   50
#define TREECELLATTR_DISABLED   0x00000002 /* cell is unselectable */
#define TREECELLATTR_HIGHLIGHT   0x00000001 /* cell is highlighted */
#define TREENODEATTR_ALLOWSCHILDREN   0x00000010 /* node allows children below */
#define TREENODEATTR_DISPLAYABLE   0x00000040 /* node is displayable */
#define TREENODEATTR_EXPANDED   0x00000020 /* parent node is expanded */
#define UPDATE_All   15
#define UPDATE_Msg1   4
#define UPDATE_Msg2   8
#define UPDATE_Percent1   1
#define UPDATE_Percent2   2
#define USERMSG_BYLEVELBTN_SETLEVEL   0 /* Used with PUSHBUTTONID_ColorByLevel to set the level for the ByLevel color */

Typedef Documentation

typedef typedefUSING_NAMESPACE_BENTLEY_MSTNPLATFORM struct IDataObject GuiDataObject
typedef struct mdlDesc MdlDesc
typedef void(* MdlMotionFuncP)(MotionFuncArg *)
typedef void(* PFDialogBoxHook)(DialogMessageP)
typedef void(* PFDialogHook)(void *)
typedef void(* PFDialogItemHandler)(DialogItemMessageP)
typedef void(* PFDialogItemHook)(DialogItemMessageP)
typedef struct UICriteria* UICriteriaP

Enumeration Type Documentation

enum AutoHideState
strong

Docking Auto Hide State.

Enumerator
None 
Pinned 
UnpinnedCollapsed 
UnpinnedExpanded 
enum DockingState
strong

Docking State.

Enumerator
Docking 
Docked 
Undocking 
Undocked 
enum EditMenuItemStatus
strong

Edit Popup Menu Status.

Enumerator
Enable 
Disable 
Remove 
enum FocusOutType
strong

Item Focus Out Types.

Enumerator
None 
KeySwitch 

TABed or RETURNed out

ButtonSwitch 

Clicked in new item

SetItem 
HideItem 
DisableItem 
SwitchDialog 
ApplyDialog 
enum GuiDragDropStatus
strong

Drag & Drop status.

Enumerator
OK 
Drop 
Cancel 
Error 
enum GuiDropSourceMsg
strong

Drag & Drop - Drop Source Message.

Enumerator
Begin 
Query 
PreCancel 
PreDrop 
Drop 
End 
enum GuiDropTargetMsg
strong

Drag & Drop - Drop Target Message.

Enumerator
Enter 
Over 
Leave 
Drop 
QueryCursorUpdate 
enum HideReasonCode
strong

Dialog Message Hide Defines.

Enumerator
HideWindow 

mdlWindow_hide

Exiting 

Product termination

WindowClose 

mdlWindow_close or related

NoDgnFile 

only for cmd window

UserClose 

User close via system menu icon

MdlUnload 

closed because mdl app unloaded

enum IconCmdSelectType
strong

IconCmd selection types.

Enumerator
UseLast 
Off 
SingleShot 
Locked 
On 
Disabled 
enum MessageBoxIconType
strong

Message Box Icon Types for mdlDialog_openMessageBox.

Enumerator
NoSymbol 

Means Don't draw Symbol

Information 

Lower Case i

Question 

Question Mark

Warning 

Exclamation Point

Critical 

Stop Sign

BentleyB 

Bentley B (Large)

Pantone 

Pantone (Large)

VBACompatibility 

Microsoft VBA Compatibility Logo

enum MotionTransType
strong

CursorMotion Transition types: used in u.motion.motionTrans.

Enumerator
InItem 

Moving inside item

Enter 

Just Entered Item or Dialog

Exit 

Exiting from Item or Dialog

InDialog 

Moving inside dialog

enum NativeContentType
strong

Native Content Type.

Enumerator
None 
MFC 
WinForms 
WPF 
enum StateChangingCause
strong

StateChanging Causes.

Enumerator
HandleClick 
DoubleClick 
Programmatic 
Keystroke 
enum StateChangingResponse
strong

StateChanging Responses.

Enumerator
Allow 
Disallow 
Cancel 
enum StateChangingType
strong

StateChanging Types.

Enumerator
ValueChange 
NodeExpanding 
NodeCollapsing 
PopOpen 
PopClose 
ColumnShow 
ColumnHide 
TabShow 
TabHide 
NodeExpanded 
NodeCollapsed 
enum TextAutoUpdateSpeed
strong

Text AutoUpdate Speed.

Enumerator
Faster 
Fast 
Medium 
Slow 
Slower 
enum TreeNodePortion
strong

Tree Node Portion last clicked.

Enumerator
None 
CellEditor 
VerticalScrollBar 
HorizontalScrollBar 
ExpansionHandle 
ColumnHeading 
Data 
HookHandled 
enum ViewIconSize
strong

View icon size flags.

Enumerator
Small 
Medium 
Large 

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.