TimoSoft ToolBarControls  1.0.3.200
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
TBarCtlsLibU Namespace Reference

Contains COM definitions for the controls' public interfaces More...

Classes

struct  RECTANGLE
 Holds the coordinates of a rectangle's opposing corners More...
interface  IControlHostWindow
 Wraps a container window used to provide floating controls More...
interface  _IControlHostWindowEvents
 The ControlHostWindow class' events interface More...
class  ControlHostWindow
 The ControlHostWindow class More...
interface  IOLEDataObject
 Wraps the IDataObject interface More...
interface  _IOLEDataObjectEvents
 The OLEDataObject class' events interface More...
class  OLEDataObject
 The OLEDataObject class More...
interface  IVirtualReBarBand
 Wraps a not existing band More...
interface  _IVirtualReBarBandEvents
 The VirtualReBarBand class' events interface More...
class  VirtualReBarBand
 The VirtualReBarBand class More...
interface  IReBarBand
 Wraps an existing rebar band More...
interface  _IReBarBandEvents
 The ReBarBand class' events interface More...
class  ReBarBand
 The ReBarBand class More...
interface  IReBarBands
 Manages a collection of ReBarBand objects More...
interface  _IReBarBandsEvents
 The ReBarBands class' events interface More...
class  ReBarBands
 The ReBarBands class More...
interface  IReBar
 The main interface More...
interface  _IReBarEvents
 The ReBar class' events interface More...
class  ReBar
 The ReBar class More...
interface  IVirtualToolBarButton
 Wraps a not existing button More...
interface  _IVirtualToolBarButtonEvents
 The VirtualToolBarButton class' events interface More...
class  VirtualToolBarButton
 The VirtualToolBarButton class More...
interface  IToolBarButton
 Wraps an existing tool bar button More...
interface  _IToolBarButtonEvents
 The ToolBarButton class' events interface More...
class  ToolBarButton
 The ToolBarButton class More...
interface  IToolBarButtons
 Manages a collection of ToolBarButton objects More...
interface  _IToolBarButtonsEvents
 The ToolBarButtons class' events interface More...
class  ToolBarButtons
 The ToolBarButtons class More...
interface  IToolBarButtonContainer
 Manages a collection of ToolBarButton objects More...
interface  _IToolBarButtonContainerEvents
 The ToolBarButtonContainer class' events interface More...
class  ToolBarButtonContainer
 The ToolBarButtonContainer class More...
interface  IToolBar
 The main interface More...
interface  _IToolBarEvents
 The ToolBar class' events interface More...
class  ToolBar
 The ToolBar class More...

Typedefs

typedef enum
TBarCtlsLibU::AppearanceConstants 
AppearanceConstants
 Constants used with the Appearance properties
typedef enum
TBarCtlsLibU::BackStyleConstants 
BackStyleConstants
 Constants used with the BackStyle property
typedef enum
TBarCtlsLibU::BandIdentifierTypeConstants 
BandIdentifierTypeConstants
 Constants used to identify bands within an IReBarBands collection
typedef enum
TBarCtlsLibU::BandRectangleTypeConstants 
BandRectangleTypeConstants
 Constants used with the IReBarBand::GetRectangle method
typedef enum
TBarCtlsLibU::BorderStyleConstants 
BorderStyleConstants
 Constants used with the BorderStyle properties
typedef enum
TBarCtlsLibU::ButtonIdentifierTypeConstants 
ButtonIdentifierTypeConstants
 Constants used to identify buttons within an IToolBarButtons collection
typedef enum
TBarCtlsLibU::ButtonRectangleTypeConstants 
ButtonRectangleTypeConstants
 Constants used with the IToolBarButton::GetRectangle method
typedef enum
TBarCtlsLibU::ButtonStyleConstants 
ButtonStyleConstants
 Constants used with the IToolBar::ButtonStyle property
typedef enum
TBarCtlsLibU::ButtonTextPositionConstants 
ButtonTextPositionConstants
 Constants used with the IToolBar::ButtonTextPosition property
typedef enum
TBarCtlsLibU::ButtonTypeConstants 
ButtonTypeConstants
 Constants used with the IToolBarButton::ButtonType property
typedef enum
TBarCtlsLibU::CommandOriginConstants 
CommandOriginConstants
 Constants used with the ExecuteCommand event
typedef enum
TBarCtlsLibU::CustomDrawItemStateConstants 
CustomDrawItemStateConstants
 Constants used to identify item and band states during custom draw
typedef enum
TBarCtlsLibU::CustomDrawReturnValuesConstants 
CustomDrawReturnValuesConstants
 Flags used to control further custom draw processing
typedef enum
TBarCtlsLibU::CustomDrawStageConstants 
CustomDrawStageConstants
 Constants used to identify custom draw stages
typedef enum
TBarCtlsLibU::DisabledEventsConstants 
DisabledEventsConstants
 Flags used with the DisabledEvents properties
typedef enum
TBarCtlsLibU::DragDropCustomizationModifierKeyConstants 
DragDropCustomizationModifierKeyConstants
 Constants used with the IToolBar::DragDropCustomizationModifierKey property
typedef enum
TBarCtlsLibU::DropDescriptionIconConstants 
DropDescriptionIconConstants
 Constants used with the IOLEDataObject::GetDropDescription and IOLEDataObject::SetDropDescription methods
typedef enum
TBarCtlsLibU::DropDownReturnValuesConstants 
DropDownReturnValuesConstants
 Constants used to control further drop-down button click processing
typedef enum
TBarCtlsLibU::DropDownStyleConstants 
DropDownStyleConstants
 Constants used with the IToolBarButton::DropDownStyle property
typedef enum
TBarCtlsLibU::FilteredPropertyConstants 
FilteredPropertyConstants
 Constants used with the Filter properties
typedef enum
TBarCtlsLibU::FilterTypeConstants 
FilterTypeConstants
 Constants used with the FilterType properties
typedef enum
TBarCtlsLibU::HAlignmentConstants 
HAlignmentConstants
 Constants used with the HorizontalTextAlignment property
typedef enum
TBarCtlsLibU::HitTestConstants 
HitTestConstants
 Flags used with the HitTest methods
typedef enum
TBarCtlsLibU::HotButtonChangingAdditionalInfoConstants 
HotButtonChangingAdditionalInfoConstants
 Flags used with the HotButtonChanging event
typedef enum
TBarCtlsLibU::HotButtonChangingCausedByConstants 
HotButtonChangingCausedByConstants
 Flags used with the HotButtonChanging event
typedef enum
TBarCtlsLibU::ImageListConstants 
ImageListConstants
 Constants used with the hImageList properties
typedef enum
TBarCtlsLibU::InsertMarkPositionConstants 
InsertMarkPositionConstants
 Constants that may be used with the SetInsertMarkPosition and GetInsertMarkPosition methods
typedef enum
TBarCtlsLibU::MenuBarThemeConstants 
MenuBarThemeConstants
 Constants used with the MenuBarTheme property
typedef enum
TBarCtlsLibU::MenuItemStateConstants 
MenuItemStateConstants
 Flags used with the SelectedMenuItem event
typedef enum
TBarCtlsLibU::ModifierKeysConstants 
ModifierKeysConstants
 Flags used with the IToolBar::RegisterHotkey method
typedef enum
TBarCtlsLibU::MousePointerConstants 
MousePointerConstants
 Constants used with the MousePointer properties
typedef enum
TBarCtlsLibU::NormalDropDownButtonStyleConstants 
NormalDropDownButtonStyleConstants
 Constants used with the IToolBar::NormalDropDownButtonStyle property
typedef enum
TBarCtlsLibU::OLEActionToContinueWithConstants 
OLEActionToContinueWithConstants
 Constants used with the OLEQueryContinueDrag event
typedef enum
TBarCtlsLibU::OLEDragImageStyleConstants 
OLEDragImageStyleConstants
 Constants used with the OLEDragImageStyle property
typedef enum
TBarCtlsLibU::OLEDropEffectConstants 
OLEDropEffectConstants
 Constants used with OLE drag'n'drop
typedef enum
TBarCtlsLibU::OrientationConstants 
OrientationConstants
 Constants used with the Orientation properties
typedef enum
TBarCtlsLibU::RegisterForOLEDragDropConstants 
RegisterForOLEDragDropConstants
 Constants used with the RegisterForOLEDragDrop properties
typedef enum
TBarCtlsLibU::ReplaceMDIFrameMenuConstants 
ReplaceMDIFrameMenuConstants
 Constants used with the IReBar::ReplaceMDIFrameMenu property
typedef enum
TBarCtlsLibU::RequestedInfoConstants 
RequestedInfoConstants
 Constants used with the ButtonGetDisplayInfo event
typedef enum
TBarCtlsLibU::RightToLeftConstants 
RightToLeftConstants
 Flags used with the RightToLeft properties
typedef enum
TBarCtlsLibU::SelectionStateConstants 
SelectionStateConstants
 Constants used with the SelectionState property
typedef enum
TBarCtlsLibU::SizingGripVisibilityConstants 
SizingGripVisibilityConstants
 Constants used with the IReBar::SizingGripVisibility property
typedef enum
TBarCtlsLibU::StringBackgroundModeConstants 
StringBackgroundModeConstants
 Constants used with the CustomDraw event
typedef enum
TBarCtlsLibU::SuggestedIconSizeConstants 
SuggestedIconSizeConstants
 Constants used with the SuggestedIconSize property
typedef enum
TBarCtlsLibU::SystemImageIndexConstants 
SystemImageIndexConstants
 Constants used with the IToolBarButton::IconIndex property
typedef enum
TBarCtlsLibU::SystemImageListTypeConstants 
SystemImageListTypeConstants
 Constants used with the IToolBar::LoadDefaultImages method
typedef enum
TBarCtlsLibU::VAlignmentConstants 
VAlignmentConstants
 Constants used with the VerticalTextAlignment property
typedef enum
TBarCtlsLibU::WrappingDirectionConstants 
WrappingDirectionConstants
 Constants used with the HotButtonChangeWrapping event
typedef struct
TBarCtlsLibU::RECTANGLE 
RECTANGLE
 Holds the coordinates of a rectangle's opposing corners

Enumerations

enum  AppearanceConstants { a2D, a3D, a3DLight }
 Constants used with the Appearance properties More...
enum  BackStyleConstants { bksTransparent, bksOpaque }
 Constants used with the BackStyle property More...
enum  BandIdentifierTypeConstants { bitID, bitIndex }
 Constants used to identify bands within an IReBarBands collection More...
enum  BandRectangleTypeConstants { brtBand = 0, brtContainedWindow = 4 }
 Constants used with the IReBarBand::GetRectangle method More...
enum  BorderStyleConstants { bsNone, bsFixedSingle }
 Constants used with the BorderStyle properties More...
enum  ButtonIdentifierTypeConstants { btitID, btitIndex }
 Constants used to identify buttons within an IToolBarButtons collection More...
enum  ButtonRectangleTypeConstants { brtButton = 0, brtDropDown = 1 }
 Constants used with the IToolBarButton::GetRectangle method More...
enum  ButtonStyleConstants { bst3D, bstFlat }
 Constants used with the IToolBar::ButtonStyle property More...
enum  ButtonTextPositionConstants { btpBelowIcon, btpRightToIcon }
 Constants used with the IToolBar::ButtonTextPosition property More...
enum  ButtonTypeConstants { btyCommandButton, btyCheckButton, btySeparator, btyPlaceholder }
 Constants used with the IToolBarButton::ButtonType property More...
enum  CommandOriginConstants { coButton, coMenu, coHotkey }
 Constants used with the ExecuteCommand event More...
enum  CustomDrawItemStateConstants {
  cdisSelected = 0x1, cdisGrayed = 0x2, cdisDisabled = 0x4, cdisChecked = 0x8,
  cdisFocus = 0x10, cdisDefault = 0x20, cdisHot = 0x40, cdisMarked = 0x80,
  cdisIndeterminate = 0x100, cdisShowKeyboardCues = 0x200
}
 Constants used to identify item and band states during custom draw More...
enum  CustomDrawReturnValuesConstants {
  cdrvDoDefault = 0x0, cdrvNewFont = 0x2, cdrvSkipDefault = 0x4, cdrvNotifyPostPaint = 0x10,
  cdrvNotifyItemDraw = 0x20, cdrvNotifySubItemDraw = 0x20, cdrvNotifyPostErase = 0x40, cdrvNotifyItemErase = 0x80,
  cdrvDontDrawButtonEdges = 0x00010000, cdrvUseHotButtonBackColor = 0x00020000, cdrvDontOffsetIfPushed = 0x00040000, cdrvDontHighlightIfMarked = 0x00080000,
  cdrvNoEtchedEffectIfDisabled = 0x00100000, cdrvBlendIconWithBackground = 0x00200000, cdrvDontDrawBackground = 0x00400000, cdrvUseCustomDrawColorsIfThemed = 0x00800000
}
 Flags used to control further custom draw processing More...
enum  CustomDrawStageConstants {
  cdsPrePaint = 0x1, cdsPostPaint = 0x2, cdsPreErase = 0x3, cdsPostErase = 0x4,
  cdsItem = 0x10000, cdsItemPrePaint = cdsItem | cdsPrePaint, cdsItemPostPaint = cdsItem | cdsPostPaint, cdsItemPreErase = cdsItem | cdsPreErase,
  cdsItemPostErase = cdsItem | cdsPostErase, cdsSubItem = 0x20000, cdsSubItemPrePaint = cdsSubItem | cdsItemPrePaint, cdsSubItemPostPaint = cdsSubItem | cdsItemPostPaint,
  cdsChevronPopupToolbar = 0x80000000
}
 Constants used to identify custom draw stages More...
enum  DisabledEventsConstants {
  deMouseEvents = 0x01, deClickEvents = 0x02, deKeyboardEvents = 0x08, deBandInsertionEvents = 0x20,
  deButtonInsertionEvents = 0x20, deBandDeletionEvents = 0x40, deButtonDeletionEvents = 0x40, deFreeBandData = 0x80,
  deFreeButtonData = 0x80, deCustomDraw = 0x100, deHotButtonChangeEvents = 0x20000, deAcceleratorEvents = 0x40000,
  deRawMenuMessage = 0x80000
}
 Flags used with the DisabledEvents properties More...
enum  DragDropCustomizationModifierKeyConstants { ddcmkShift = 0, ddcmkAlt }
 Constants used with the IToolBar::DragDropCustomizationModifierKey property More...
enum  DropDescriptionIconConstants {
  ddiNone = -1, ddiNoDrop = 0, ddiCopy = 1, ddiMove = 2,
  ddiLink = 4, ddiMetadataChange = 6, ddiWarning = 7, ddiUseDefault = 8
}
 Constants used with the IOLEDataObject::GetDropDescription and IOLEDataObject::SetDropDescription methods More...
enum  DropDownReturnValuesConstants { ddrvDoDefault = 0, ddrvSkipDefault = 1, ddrvExecuteCommand = 2 }
 Constants used to control further drop-down button click processing More...
enum  DropDownStyleConstants { ddstNoDropDown, ddstNormal, ddstAlwaysWholeButton }
 Constants used with the IToolBarButton::DropDownStyle property More...
enum  FilteredPropertyConstants {
  fpPartOfGroup = 3, fpIconIndex = 4, fpIndex = 6, fpBandData = 7,
  fpButtonData = 7, fpSelectionState = 9, fpText = 11, fpAddMarginsAroundChild = 20,
  fpBackColor = 21, fpCurrentHeight = 22, fpCurrentWidth = 23, fpWidth = 23,
  fpFixedBackgroundBitmapOrigin = 24, fpForeColor = 25, fpHBackgroundBitmap = 26, fpHContainedWindow = 27,
  fpHeightChangeStepSize = 28, fpHideIfVertical = 29, fpID = 30, fpIdealWidth = 31,
  fpKeepInFirstRow = 32, fpMaximumHeight = 33, fpMinimumHeight = 34, fpMinimumWidth = 35,
  fpNewLine = 36, fpFollowedByLineBreak = 36, fpResizable = 37, fpShowTitle = 38,
  fpDisplayText = 38, fpSizingGripVisibility = 39, fpTitleWidth = 40, fpUseChevron = 41,
  fpVariableHeight = 42, fpVisible = 43, fpAutoSize = 44, fpButtonType = 45,
  fpDropDownStyle = 46, fpEnabled = 47, fpImageListIndex = 48, fpMarked = 49,
  fpPushed = 50, fpShowingEllipsis = 51, fpUseMnemonic = 52
}
 Constants used with the Filter properties More...
enum  FilterTypeConstants { ftDeactivated, ftIncluding, ftExcluding }
 Constants used with the FilterType properties More...
enum  HAlignmentConstants { halLeft, halCenter, halRight }
 Constants used with the HorizontalTextAlignment property More...
enum  HitTestConstants {
  htNotInBand = 0x0001, htNotInButton = 0x0001, htBandTitle = 0x0002, htButton = 0x0002,
  htBandClientArea = 0x0003, htBandSizingGrip = 0x0004, htBandChevron = 0x0008, htSplitter = 0x0010,
  htAbove = 0x0100, htBelow = 0x0200, htToRight = 0x0400, htToLeft = 0x0800
}
 Flags used with the HitTest methods More...
enum  HotButtonChangingAdditionalInfoConstants {
  hbcaiDuplicateAccelerator = 0x0008, hbcaiEntering = 0x0010, hbcaiLeaving = 0x0020, hbcaiReselect = 0x0040,
  hbcaiLeftMouseClick = 0x0080, hbcaiDoDropDownClick = 0x0100
}
 Flags used with the HotButtonChanging event More...
enum  HotButtonChangingCausedByConstants { hbccbOther = 0x0000, hbccbMouse = 0x0001, hbccbArrowKey = 0x0002, hbccbAcceleratorKey = 0x0004 }
 Flags used with the HotButtonChanging event More...
enum  ImageListConstants {
  ilBands = 1, ilNormalButtons = 1, ilHighResolution = 4, ilHotButtons = 11,
  ilPushedButtons, ilDisabledButtons
}
 Constants used with the hImageList properties More...
enum  InsertMarkPositionConstants { impNowhere = 0, impBefore = 1, impAfter = 2, impDontChange = 3 }
 Constants that may be used with the SetInsertMarkPosition and GetInsertMarkPosition methods More...
enum  MenuBarThemeConstants { mbtNativeToolbar = 0, mbtNativeMenuBar = 1 }
 Constants used with the MenuBarTheme property More...
enum  MenuItemStateConstants {
  misIsGrayed = 0x00000001, misIsDisabled = 0x00000002, misDisplaysBitmap = 0x00000004, misIsChecked = 0x00000008,
  misOpensSubMenu = 0x00000010, misDisplayedInNewColumnWithSeparator = 0x00000020, misDisplayedInNewColumnWithoutSeparator = 0x00000040, misIsHighlighted = 0x00000080,
  misIsOwnerDrawn = 0x00000100, misUsesOptionCheckmarks = 0x00000200, misIsSeparator = 0x00000800, misRightToLeftLayout = 0x00002000,
  misIsSelectedWithMouse = 0x00008000
}
 Flags used with the SelectedMenuItem event More...
enum  ModifierKeysConstants { mkShift = 0x01, mkCtrl = 0x02, mkAlt = 0x04 }
 Flags used with the IToolBar::RegisterHotkey method More...
enum  MousePointerConstants {
  mpDefault, mpArrow, mpCross, mpIBeam,
  mpIcon, mpSize, mpSizeNESW, mpSizeNS,
  mpSizeNWSE, mpSizeEW, mpUpArrow, mpHourglass,
  mpNoDrop, mpArrowHourglass, mpArrowQuestion, mpSizeAll,
  mpHand, mpInsertMedia, mpScrollAll, mpScrollN,
  mpScrollNE, mpScrollE, mpScrollSE, mpScrollS,
  mpScrollSW, mpScrollW, mpScrollNW, mpScrollNS,
  mpScrollEW, mpCustom = 0x63
}
 Constants used with the MousePointer properties More...
enum  NormalDropDownButtonStyleConstants { nddbsSplitButton, nddbsWithoutArrow }
 Constants used with the IToolBar::NormalDropDownButtonStyle property More...
enum  OLEActionToContinueWithConstants { oatcwContinue = 0x0, oatcwCancel = 0x40101, oatcwDrop = 0x40100 }
 Constants used with the OLEQueryContinueDrag event More...
enum  OLEDragImageStyleConstants { odistClassic, odistAeroIfAvailable }
 Constants used with the OLEDragImageStyle property More...
enum  OLEDropEffectConstants {
  odeNone = 0, odeCopy = 1, odeMove = 2, odeLink = 4,
  odeCopyOrMove = odeCopy | odeMove, odeScroll = 0x80000000
}
 Constants used with OLE drag'n'drop More...
enum  OrientationConstants { oHorizontal, oVertical }
 Constants used with the Orientation properties More...
enum  RegisterForOLEDragDropConstants { rfoddNoDragDrop, rfoddNativeDragDrop, rfoddAdvancedDragDrop }
 Constants used with the RegisterForOLEDragDrop properties More...
enum  ReplaceMDIFrameMenuConstants { rmfmDontReplace, rmfmJustRemove, rmfmFullReplace }
 Constants used with the IReBar::ReplaceMDIFrameMenu property More...
enum  RequestedInfoConstants { riButtonText = 0x0001, riIconIndex = 0x0002 }
 Constants used with the ButtonGetDisplayInfo event More...
enum  RightToLeftConstants { rtlText = 1, rtlLayout = 2 }
 Flags used with the RightToLeft properties More...
enum  SelectionStateConstants { ssUnchecked, ssChecked, ssIndeterminate }
 Constants used with the SelectionState property More...
enum  SizingGripVisibilityConstants { sgvNever, sgvAutomatic, sgvAlways }
 Constants used with the IReBar::SizingGripVisibility property More...
enum  StringBackgroundModeConstants { sbmTransparent = 1, sbmOpaque = 2 }
 Constants used with the CustomDraw event More...
enum  SuggestedIconSizeConstants { sisSmall, sisLarge }
 Constants used with the SuggestedIconSize property More...
enum  SystemImageIndexConstants {
  siiExplorerBack = 0, siiExplorerForward = 1, siiExplorerFavorites = 2, siiExplorerAddToFavorites = 3,
  siiExplorerViewTree = 4, siiStandardCut = 0, siiStandardCopy = 1, siiStandardPaste = 2,
  siiStandardUndo = 3, siiStandardRedo = 4, siiStandardDelete = 5, siiStandardFileNew = 6,
  siiStandardFileOpen = 7, siiStandardFileSave = 8, siiStandardPrintPreview = 9, siiStandardProperties = 10,
  siiStandardHelp = 11, siiStandardFind = 12, siiStandardReplace = 13, siiStandardPrint = 14,
  siiViewLargeIcons = 0, siiViewSmallIcons = 1, siiViewList = 2, siiViewDetails = 3,
  siiViewSortByName = 4, siiViewSortBySize = 5, siiViewSortByDate = 6, siiViewSortByType = 7,
  siiViewParentFolder = 8, siiViewNetConnect = 9, siiViewNetDisconnect = 10, siiViewNewFolder = 11,
  siiViewMenu = 12
}
 Constants used with the IToolBarButton::IconIndex property More...
enum  SystemImageListTypeConstants {
  siltShellIcons256x256 = -4, siltShellIcons48x48 = -3, siltShellIcons32x32 = -2, siltShellIcons16x16 = -1,
  siltSmallStandardBitmaps = 0, siltLargeStandardBitmaps = 1, siltSmallViewBitmaps = 4, siltLargeViewBitmaps = 5,
  siltSmallExplorerBitmaps = 8, siltLargeExplorerBitmaps = 9, siltNormalTravelAndFavoritesBitmaps = 12, siltHotTravelAndFavoritesBitmaps = 13,
  siltDisabledTravelAndFavoritesBitmaps = 14, siltPressedTravelAndFavoritesBitmaps = 15
}
 Constants used with the IToolBar::LoadDefaultImages method More...
enum  VAlignmentConstants { valTop, valCenter, valBottom }
 Constants used with the VerticalTextAlignment property More...
enum  WrappingDirectionConstants { wrdBeforeCurrent = -1, wrdAfterCurrent = 1 }
 Constants used with the HotButtonChangeWrapping event More...

Detailed Description

Contains COM definitions for the controls' public interfaces

This is the Unicode version of the ToolBarControls COM library.


Typedef Documentation

Constants used with the Appearance properties

See also:
IReBar::Appearance, IToolBar::Appearance

Constants used with the BackStyle property

See also:
IToolBar::BackStyle

Constants used to identify bands within an IReBarBands collection

See also:
IReBarBands

Constants used with the BorderStyle properties

See also:
IReBar::BorderStyle, IToolBar::BorderStyle

Constants used to identify buttons within an IToolBarButtons collection

See also:
IToolBarButtons

Constants used with the ExecuteCommand event

See also:
_IToolBarEvents::ExecuteCommand

Flags used with the DisabledEvents properties

See also:
IReBar::DisabledEvents, IToolBar::DisabledEvents

Constants used to control further drop-down button click processing

See also:
_IToolBarEvents::DropDown

Constants used with the FilterType properties

See also:
IReBarBands::FilterType, IToolBarButtons::FilterType

Constants used with the HorizontalTextAlignment property

See also:
IToolBar::HorizontalTextAlignment, VAlignmentConstants

Flags used with the HitTest methods

See also:
IReBar::HitTest

Constants used with the hImageList properties

See also:
IReBar::hImageList, IToolBar::hImageList

Constants that may be used with the SetInsertMarkPosition and GetInsertMarkPosition methods

Constants that may be used for the relativePosition parameter of the SetInsertMarkPosition and GetInsertMarkPosition methods.

See also:
IToolBar::SetInsertMarkPosition, IToolBar::GetInsertMarkPosition

Constants used with the MenuBarTheme property

See also:
IToolBar::MenuBarTheme, IToolBar::MenuMode

Flags used with the SelectedMenuItem event

See also:
_IToolBarEvents::SelectedMenuItem

Constants used with the MousePointer properties

See also:
IReBar::MousePointer, IToolBar::MousePointer

Constants used with the OLEDragImageStyle property

See also:
IToolBar::OLEDragImageStyle

Constants used with the Orientation properties

See also:
IReBar::Orientation, IToolBar::Orientation

Constants used with the ButtonGetDisplayInfo event

See also:
_IToolBarEvents::ButtonGetDisplayInfo

Flags used with the RightToLeft properties

See also:
IReBar::RightToLeft, IToolBar::RightToLeft

Constants used with the SelectionState property

See also:
IToolBarButton::SelectionState

Constants used with the IReBar::SizingGripVisibility property

See also:
IReBarBand::SizingGripVisibility

Constants used with the CustomDraw event

See also:
_IToolBarEvents::CustomDraw

Constants used with the SuggestedIconSize property

See also:
IToolBar::SuggestedIconSize

Constants used with the VerticalTextAlignment property

See also:
IToolBar::VerticalTextAlignment, HAlignmentConstants

Constants used with the HotButtonChangeWrapping event

See also:
_IToolBarEvents::HotButtonChangeWrapping

Holds the coordinates of a rectangle's opposing corners

See also:
_IReBarEvents::AutoSized, _IReBarEvents::ResizingContainedWindow

Enumeration Type Documentation

Constants used with the Appearance properties

See also:
IReBar::Appearance, IToolBar::Appearance
Enumerator:
a2D 

The control is drawn with a flat border.

a3D 

The control is drawn with a normal 3D border.

a3DLight 

The control is drawn with a light 3D border.

Constants used with the BackStyle property

See also:
IToolBar::BackStyle
Enumerator:
bksTransparent 

The control is drawn with a transparent background.

bksOpaque 

The control is drawn without an opaque background.

Constants used to identify bands within an IReBarBands collection

See also:
IReBarBands
Enumerator:
bitID 

The band is identified by an unique ID.

A band's ID will never change.

See also:
IReBarBand::ID
bitIndex 

The band is identified by a zero-based index.

Reordering the bands won't change a band's index, but removing or adding new bands may do so.

Remarks:
This is the preferred and fastest method to identify a band.
See also:
IReBarBand::Index

Constants used with the IReBarBand::GetRectangle method

See also:
IReBarBand::GetRectangle
Enumerator:
brtBand 

The rectangle surrounds the entire band.

The rectangle is the bounding rectangle around the entire band, including the title.

brtContainedWindow 

The rectangle surrounds the contained window.

The rectangle is the bounding rectangle around the window contained in the band.

Constants used with the BorderStyle properties

See also:
IReBar::BorderStyle, IToolBar::BorderStyle
Enumerator:
bsNone 

The control is drawn without an inner border.

bsFixedSingle 

The control is drawn with an inner border.

Constants used to identify buttons within an IToolBarButtons collection

See also:
IToolBarButtons
Enumerator:
btitID 

The button is identified by an unique ID.

A button's ID will never change.

See also:
IToolBarButton::ID
btitIndex 

The button is identified by a zero-based index.

Reordering the buttons won't change a button's index, but removing or adding new buttons may do so.

Remarks:
This is the preferred and fastest method to identify a button.
See also:
IToolBarButton::Index

Constants used with the IToolBarButton::GetRectangle method

See also:
IToolBarButton::GetRectangle
Enumerator:
brtButton 

Retrieve the bounding rectangle of the tool bar button.

brtDropDown 

Retrieve the bounding rectangle of the tool bar button's drop-down window.

Constants used with the IToolBar::ButtonStyle property

See also:
IToolBar::ButtonStyle
Enumerator:
bst3D 

Buttons appear like command buttons.

bstFlat 

Buttons appear flat.

Constants used with the IToolBar::ButtonTextPosition property

See also:
IToolBar::ButtonTextPosition
Enumerator:
btpBelowIcon 

Button captions are drawn below the button icons.

btpRightToIcon 

Button captions are drawn to the right of the button icons.

Constants used with the IToolBarButton::ButtonType property

See also:
IToolBarButton::ButtonType
Enumerator:
btyCommandButton 

The button is a normal push button.

See also:
IToolBarButton::Pushed
btyCheckButton 

The button is a check button, similar to a check box.

Remarks:
Among all consecutive buttons that are part of a group, only one button can be checked. A check button that is part of a group cannot be unchecked by simply clicking it a second time. This can be used to create option-button like behavior.
See also:
IToolBarButton::SelectionState, IToolBarButton::PartOfGroup
btySeparator 

The button is a separator, used to separate button groups from each other.

btyPlaceholder 

The button is a placeholder, used to consume space that will be covered by another control.

Constants used with the ExecuteCommand event

See also:
_IToolBarEvents::ExecuteCommand
Enumerator:
coButton 

The command was triggered by clicking a button.

coMenu 

The command was triggered by clicking a menu item.

See also:
IToolBar::MenuMode
coHotkey 

The command was triggered by pressing a registered hotkey.

See also:
IToolBar::RegisterHotkey

Constants used to identify item and band states during custom draw

See also:
CustomDrawStageConstants, CustomDrawReturnValuesConstants, _IReBarEvents::CustomDraw, _IToolBarEvents::CustomDraw
Enumerator:
cdisSelected 

The button or band is selected.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisGrayed 

The button or band is grayed.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisDisabled 

The button or band is disabled.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisChecked 

The button or band is checked.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisFocus 

The button or band has the keyboard focus.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisDefault 

The button or band is in its default state.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisHot 

The button or band is currently under the mouse cursor.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisMarked 

The button or band is marked.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisIndeterminate 

The button or band is in an indeterminate state.

Remarks:
Current versions of Windows probably do not use this flag for rebar bands.
cdisShowKeyboardCues 

The button or band is a keyboard cue.

Remarks:
Requires comctl32.dll version 6.0 or higher.
Current versions of Windows probably do not use this flag for rebar bands.

Flags used to control further custom draw processing

See also:
CustomDrawItemStateConstants, CustomDrawStageConstants, _IReBarEvents::CustomDraw, _IToolBarEvents::CustomDraw
Enumerator:
cdrvDoDefault 

Don't use custom draw.

Advises the control to draw itself and to not raise any further custom draw events during the current paint cycle.

cdrvNewFont 

Use different font and colors.

Advises the control to draw the button or band using the specified font and colors.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag doesn't seem to be valid for rebar controls.
cdrvSkipDefault 

Don't draw the button or band.

Advises the control to not draw the button or band. Use this to draw the element entirely yourself.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
cdrvNotifyPostPaint 

Fire the custom draw event after drawing took place.

Advises the control to fire the custom draw event after drawing took place.

Remarks:
This flag is valid if the custom draw stage equals cdsPrePaint.
cdrvNotifyItemDraw 

Fire the custom draw event for button or band related drawing operations.

Remarks:
This flag is valid if the custom draw stage equals cdsPrePaint.
cdrvNotifySubItemDraw 

Fire the custom draw event for sub-item related drawing operations.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag is not valid for rebar controls and tool bar controls.
cdrvNotifyPostErase 

Fire the custom draw event after erasing took place.

Advises the control to fire the custom draw event after erasing took place.

Remarks:
This flag is valid if the custom draw stage equals cdsPrePaint.
cdrvNotifyItemErase 

Fire the custom draw event for band related erasing operations.

Remarks:
This flag is valid if the custom draw stage equals cdsPrePaint.
cdrvDontDrawButtonEdges 

Don't draw the edges of the button.

Advises the control to not draw the button's edges.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag is not valid for rebar controls.
cdrvUseHotButtonBackColor 

Use the color specified by the hotButtonBackColor parameter to draw the button background if it is in hot state.

Advises the control to use the color specified by the hotButtonBackColor parameter to draw the button background if it is in hot state.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag is not valid for rebar controls.
cdrvDontOffsetIfPushed 

Don't offset the button's caption if it is in pushed state.

Advises the control to not offset the button's caption if it is in pushed state.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag is not valid for rebar controls.
cdrvDontHighlightIfMarked 

Don't apply the default highlighting if the button is in marked state.

Advises the control to not apply the default highlighting if the button is in marked state.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag is not valid for rebar controls.
cdrvNoEtchedEffectIfDisabled 

Don't apply the default 3D effect if the button is in disabled state.

Advises the control to not apply the default 3D effect if the button is in disabled state.

Remarks:
This flag is ignored if the control is themed.
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag is not valid for rebar controls.
cdrvBlendIconWithBackground 

Blend the button's icon with the background.

Advises the control to blend the button's icon with the background by 50 percent.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag is not valid for rebar controls.
cdrvDontDrawBackground 

Don't draw the button's background.

Advises the control to not draw the button's background.

Remarks:
This flag is valid if the custom draw stage equals cdsItemPrePaint.
This flag is not valid for rebar controls.
cdrvUseCustomDrawColorsIfThemed 

Use the specified colors even if the control is themed.

Advises the control to ignore the visual style and use the colors specified by the CustomDraw event.

Remarks:
Requires comctl32.dll version 6.10 or higher.
This flag is not valid for rebar controls.

Constants used to identify custom draw stages

See also:
CustomDrawItemStateConstants, CustomDrawReturnValuesConstants, _IReBarEvents::CustomDraw, _IToolBarEvents::CustomDraw
Enumerator:
cdsPrePaint 

Before the painting cycle begins.

cdsPostPaint 

After the painting cycle is complete.

cdsPreErase 

Before the erasing cycle begins.

Remarks:
For the ToolBar control the CustomDraw event is raised with this draw stage only if the RaiseCustomDrawEventOnEraseBackground property is set to True.
See also:
IToolBar::RaiseCustomDrawEventOnEraseBackground
cdsPostErase 

After the erasing cycle is complete.

Remarks:
For the ToolBar control the CustomDraw event is raised with this draw stage only if the RaiseCustomDrawEventOnEraseBackground property is set to True.
See also:
IToolBar::RaiseCustomDrawEventOnEraseBackground
cdsItem 

The event affects a single button or band only and not the whole control.

cdsItemPrePaint 

Before a button or band is drawn.

cdsItemPostPaint 

After a button or band has been drawn.

cdsItemPreErase 

Before a button or band is erased.

cdsItemPostErase 

After a button or band has been erased.

cdsSubItem 

The event affects a single sub-item only and not the whole item.

Remarks:
This flag is not valid for rebar controls and tool bar controls.
cdsSubItemPrePaint 

Before a sub-item is drawn.

Remarks:
This flag is not valid for rebar controls and tool bar controls.
cdsSubItemPostPaint 

After a sub-item has been drawn.

Remarks:
This flag is not valid for rebar controls and tool bar controls.
cdsChevronPopupToolbar 

The event affects the chevron popup tool bar.

Remarks:
This flag is not valid for rebar controls.

Flags used with the DisabledEvents properties

See also:
IReBar::DisabledEvents, IToolBar::DisabledEvents
Enumerator:
deMouseEvents 

Mouse events won't be fired.

The following events won't be fired: MouseDown, MouseUp, MouseEnter, MouseHover, MouseLeave, BandMouseEnter, BandMouseLeave, ButtonMouseEnter, ButtonMouseLeave, MouseMove

See also:
_IReBarEvents::MouseDown, _IReBarEvents::MouseUp, _IReBarEvents::MouseEnter, _IReBarEvents::MouseHover, _IReBarEvents::MouseLeave, _IReBarEvents::BandMouseEnter, _IReBarEvents::BandMouseLeave, _IReBarEvents::MouseMove, _IReBarEvents::NonClientHitTest, _IToolBarEvents::MouseDown, _IToolBarEvents::MouseUp, _IToolBarEvents::MouseEnter, _IToolBarEvents::MouseHover, _IToolBarEvents::MouseLeave, _IToolBarEvents::ButtonMouseEnter, _IToolBarEvents::ButtonMouseLeave, _IToolBarEvents::MouseMove
deClickEvents 

Click events won't be fired.

The following events won't be fired: Click, DblClick, MClick, MDblClick, RClick, RDblClick

See also:
_IReBarEvents::Click, _IReBarEvents::DblClick, _IReBarEvents::MClick, _IReBarEvents::MDblClick, _IReBarEvents::RClick, _IReBarEvents::RDblClick, _IToolBarEvents::Click, _IToolBarEvents::DblClick, _IToolBarEvents::MClick, _IToolBarEvents::MDblClick, _IToolBarEvents::RClick, _IToolBarEvents::RDblClick
deKeyboardEvents 

Keyboard events won't be fired.

The following events won't be fired: KeyDown, KeyUp, KeyPress

See also:
_IToolBarEvents::KeyDown, _IToolBarEvents::KeyUp, _IToolBarEvents::KeyPress
deBandInsertionEvents 

Events concerning band-insertions won't be fired.

The following events won't be fired: InsertingBand, InsertedBand

See also:
_IReBarEvents::InsertingBand, _IReBarEvents::InsertedBand
deButtonInsertionEvents 

Events concerning button-insertions won't be fired.

The following events won't be fired: InsertingButton, InsertedButton

See also:
_IToolBarEvents::InsertingButton, _IToolBarEvents::InsertedButton
deBandDeletionEvents 

Events concerning band-deletions won't be fired.

The following events won't be fired: RemovingBand, RemovedBand

See also:
_IReBarEvents::RemovingBand, _IReBarEvents::RemovedBand
deButtonDeletionEvents 

Events concerning button-deletions won't be fired.

The following events won't be fired: RemovingButton, RemovedButton

See also:
_IToolBarEvents::RemovingButton, _IToolBarEvents::RemovedButton
deFreeBandData 

The FreeBandData event won't be fired.

The following event won't be fired: FreeBandData

See also:
_IReBarEvents::FreeBandData
deFreeButtonData 

The FreeButtonData event won't be fired.

The following event won't be fired: FreeButtonData

See also:
_IToolBarEvents::FreeButtonData
deCustomDraw 

The CustomDraw event won't be fired.

The following event won't be fired: CustomDraw

See also:
_IReBarEvents::CustomDraw, _IToolBarEvents::CustomDraw
deHotButtonChangeEvents 

Events concerning hot button changes won't be fired.

The following events won't be fired: HotButtonChangeWrapping, HotButtonChanging

See also:
_IToolBarEvents::HotButtonChangeWrapping, _IToolBarEvents::HotButtonChanging
deAcceleratorEvents 

Events concerning keyboard accelerators won't be fired.

The following events won't be fired: IsDuplicateAccelerator, MapAccelerator

See also:
_IToolBarEvents::IsDuplicateAccelerator, _IToolBarEvents::MapAccelerator
deRawMenuMessage 

The RawMenuMessage event won't be fired.

The following event won't be fired: RawMenuMessage

See also:
_IReBarEvents::RawMenuMessage, _IToolBarEvents::RawMenuMessage

Constants used with the IToolBar::DragDropCustomizationModifierKey property

See also:
IToolBar::DragDropCustomizationModifierKey
Enumerator:
ddcmkShift 

The [SHIFT] key must be pressed while dragging a button to move its position.

ddcmkAlt 

The [ALT] key must be pressed while dragging a button to move its position.

Constants used with the IOLEDataObject::GetDropDescription and IOLEDataObject::SetDropDescription methods

See also:
IOLEDataObject::GetDropDescription, IOLEDataObject::SetDropDescription
Enumerator:
ddiNone 

No drop description is displayed.

ddiNoDrop 

The drop description icon that visualizes the odeNone drop effect is displayed.

ddiCopy 

The drop description icon that visualizes the odeCopy drop effect is displayed.

ddiMove 

The drop description icon that visualizes the odeMove drop effect is displayed.

ddiLink 

The drop description icon that visualizes the odeLink drop effect is displayed.

ddiMetadataChange 

The drop description icon that visualizes a drop, which causes a metadata change, is displayed.

ddiWarning 

The drop description icon that visualizes a warning is displayed.

ddiUseDefault 

The default drop description is displayed.

Remarks:
Requires Windows 7 or newer.

Constants used to control further drop-down button click processing

See also:
_IToolBarEvents::DropDown
Enumerator:
ddrvDoDefault 

Reset the button's or its drop-down section's pressed state and do not raise the ExecuteCommand event.

Resets the button's or its drop-down section's pressed state. The ExecuteCommand event won't be raised.

See also:
_IToolBarEvents::ExecuteCommand
ddrvSkipDefault 

Don't reset the button's or its drop-down section's pressed state and raise the ExecuteCommand event.

Doesn't reset the button's or its drop-down section's pressed state. The ExecuteCommand event will be raised.

See also:
_IToolBarEvents::ExecuteCommand
ddrvExecuteCommand 

Reset the button's or its drop-down section's pressed state and raise the ExecuteCommand event.

Resets the button's or its drop-down section's pressed state. The ExecuteCommand event will be raised.

See also:
_IToolBarEvents::ExecuteCommand

Constants used with the IToolBarButton::DropDownStyle property

See also:
IToolBarButton::DropDownStyle
Enumerator:
ddstNoDropDown 

The button does not have a drop-down menu.

ddstNormal 

The button is a drop-down button that might have a separate drop-down arrow section.

The button is a drop-down button, i. e. a drop-down menu will be displayed if the button is clicked. Depending on the setting of the IToolBar::NormalDropDownButtonStyle property, the drop-down arrow is displayed to the button's right in a separate section, or no drop-down arrow is displayed at all.

See also:
IToolBar::NormalDropDownButtonStyle
ddstAlwaysWholeButton 

The button is a drop-down button that never has a separate drop-down arrow section.

The button is a drop-down button, i. e. a drop-down menu will be displayed if the button is clicked. Regardless of the setting of the IToolBar::NormalDropDownButtonStyle property, the drop-down arrow is displayed within the button itself.

See also:
IToolBar::NormalDropDownButtonStyle

Constants used with the Filter properties

See also:
IReBarBands::Filter, IToolBarButtons::Filter
Enumerator:
fpPartOfGroup 

Retrieve or set the filter that filters by the PartOfGroup property.

See also:
IToolBarButton::PartOfGroup
fpIconIndex 

Retrieve or set the filter that filters by the IconIndex property.

See also:
IReBarBand::IconIndex, IToolBarButton::IconIndex
fpIndex 

Retrieve or set the filter that filters by the Index property.

See also:
IReBarBand::Index, IToolBarButton::Index
fpBandData 

Retrieve or set the filter that filters by the BandData property.

See also:
IReBarBand::BandData
fpButtonData 

Retrieve or set the filter that filters by the ButtonData property.

See also:
IToolBarButton::ButtonData
fpSelectionState 

Retrieve or set the filter that filters by the SelectionState property.

See also:
IToolBarButton::SelectionState
fpText 

Retrieve or set the filter that filters by the Text property.

See also:
IReBarBand::Text, IToolBarButton::Text
fpAddMarginsAroundChild 

Retrieve or set the filter that filters by the AddMarginsAroundChild property.

See also:
IReBarBand::AddMarginsAroundChild
fpBackColor 

Retrieve or set the filter that filters by the BackColor property.

See also:
IReBarBand::BackColor
fpCurrentHeight 

Retrieve or set the filter that filters by the CurrentHeight property.

See also:
IReBarBand::CurrentHeight
fpCurrentWidth 

Retrieve or set the filter that filters by the CurrentWidth property.

See also:
IReBarBand::CurrentWidth
fpWidth 

Retrieve or set the filter that filters by the Width property.

See also:
IToolBarButton::Width
fpFixedBackgroundBitmapOrigin 

Retrieve or set the filter that filters by the FixedBackgroundBitmapOrigin property.

See also:
IReBarBand::FixedBackgroundBitmapOrigin
fpForeColor 

Retrieve or set the filter that filters by the ForeColor property.

See also:
IReBarBand::ForeColor
fpHBackgroundBitmap 

Retrieve or set the filter that filters by the hBackgroundBitmap property.

See also:
IReBarBand::hBackgroundBitmap
fpHContainedWindow 

Retrieve or set the filter that filters by the hContainedWindow property.

See also:
IReBarBand::hContainedWindow
fpHeightChangeStepSize 

Retrieve or set the filter that filters by the HeightChangeStepSize property.

See also:
IReBarBand::HeightChangeStepSize
fpHideIfVertical 

Retrieve or set the filter that filters by the HideIfVertical property.

See also:
IReBarBand::HideIfVertical
fpID 

Retrieve or set the filter that filters by the ID property.

See also:
IReBarBand::ID, IToolBarButton::ID
fpIdealWidth 

Retrieve or set the filter that filters by the IdealWidth property.

See also:
IReBarBand::IdealWidth
fpKeepInFirstRow 

Retrieve or set the filter that filters by the KeepInFirstRow property.

See also:
IReBarBand::KeepInFirstRow
fpMaximumHeight 

Retrieve or set the filter that filters by the MaximumHeight property.

See also:
IReBarBand::MaximumHeight
fpMinimumHeight 

Retrieve or set the filter that filters by the MinimumHeight property.

See also:
IReBarBand::MinimumHeight
fpMinimumWidth 

Retrieve or set the filter that filters by the MinimumWidth property.

See also:
IReBarBand::MinimumWidth
fpNewLine 

Retrieve or set the filter that filters by the NewLine property.

See also:
IReBarBand::NewLine
fpFollowedByLineBreak 

Retrieve or set the filter that filters by the FollowedByLineBreak property.

See also:
IToolBarButton::FollowedByLineBreak
fpResizable 

Retrieve or set the filter that filters by the Resizable property.

See also:
IReBarBand::Resizable
fpShowTitle 

Retrieve or set the filter that filters by the ShowTitle property.

See also:
IReBarBand::ShowTitle
fpDisplayText 

Retrieve or set the filter that filters by the DisplayText property.

See also:
IToolBarButton::DisplayText
fpSizingGripVisibility 

Retrieve or set the filter that filters by the SizingGripVisibility property.

See also:
IReBarBand::SizingGripVisibility
fpTitleWidth 

Retrieve or set the filter that filters by the TitleWidth property.

See also:
IReBarBand::TitleWidth
fpUseChevron 

Retrieve or set the filter that filters by the UseChevron property.

See also:
IReBarBand::UseChevron
fpVariableHeight 

Retrieve or set the filter that filters by the VariableHeight property.

See also:
IReBarBand::VariableHeight
fpVisible 

Retrieve or set the filter that filters by the Visible property.

See also:
IReBarBand::Visible, IToolBarButton::Visible
fpAutoSize 

Retrieve or set the filter that filters by the AutoSize property.

See also:
IToolBarButton::AutoSize
fpButtonType 

Retrieve or set the filter that filters by the ButtonType property.

See also:
IToolBarButton::ButtonType
fpDropDownStyle 

Retrieve or set the filter that filters by the DropDownStyle property.

See also:
IToolBarButton::DropDownStyle
fpEnabled 

Retrieve or set the filter that filters by the Enabled property.

See also:
IToolBarButton::Enabled
fpImageListIndex 

Retrieve or set the filter that filters by the ImageListIndex property.

See also:
IToolBarButton::ImageListIndex
fpMarked 

Retrieve or set the filter that filters by the Marked property.

See also:
IToolBarButton::Marked
fpPushed 

Retrieve or set the filter that filters by the Pushed property.

See also:
IToolBarButton::Pushed
fpShowingEllipsis 

Retrieve or set the filter that filters by the ShowingEllipsis property.

See also:
IToolBarButton::ShowingEllipsis
fpUseMnemonic 

Retrieve or set the filter that filters by the UseMnemonic property.

See also:
IToolBarButton::UseMnemonic

Constants used with the FilterType properties

See also:
IReBarBands::FilterType, IToolBarButtons::FilterType
Enumerator:
ftDeactivated 

The filter is deactivated.

ftIncluding 

A band or button must match this filter to be in the collection.

ftExcluding 

A band or button must not match this filter to be in the collection.

Constants used with the HorizontalTextAlignment property

See also:
IToolBar::HorizontalTextAlignment, VAlignmentConstants
Enumerator:
halLeft 

The button texts are left-aligned.

halCenter 

The button texts are horizontally centered.

halRight 

The button texts are right-aligned.

Flags used with the HitTest methods

See also:
IReBar::HitTest
Enumerator:
htNotInBand 

Not in any band.

The specified point lies outside any rebar band.

htNotInButton 

Not in any tool bar button.

The specified point lies outside any tool bar button. The specified button is the nearest button that is not a separator.

htBandTitle 

In a band's caption.

The specified point lies in a band's caption, which may consist of text and an icon.

htButton 

Inside a tool bar button.

The specified point lies inside a tool bar button.

htBandClientArea 

In a band's client area.

The specified point lies in a band's client area.

htBandSizingGrip 

In a band's sizing grip.

The specified point lies in a band's sizing grip.

htBandChevron 

In a band's chevron button.

The specified point lies in a band's chevron button.

htSplitter 

In the control's splitter.

The specified point lies in the control's splitter.

Remarks:
Requires comctl32.dll version 6.10 or higher.
See also:
IReBar::DisplaySplitter
htAbove 

Above the control's client area.

The specified point lies above the control's client area.

htBelow 

Below the control's client area.

The specified point lies below the control's client area.

htToRight 

To the right of the control's client area.

The specified point lies to the right of the control's client area.

htToLeft 

To the left of the control's client area.

The specified point lies to the left of the control's client area.

Flags used with the HotButtonChanging event

See also:
_IToolBarEvents::HotButtonChanging
Enumerator:
hbcaiDuplicateAccelerator 

The shortcut key, that caused the hot button change, is not unique.

hbcaiEntering 

The control previously did not have a hot button.

hbcaiLeaving 

The control does not have a hot button anymore.

hbcaiReselect 

The shortcut key of the currently hot button was pressed and the hot button did not really change.

hbcaiLeftMouseClick 

The hot button change was caused by a click with the left mouse button.

Remarks:
Current versions of Windows do not seem to use this flag.
hbcaiDoDropDownClick 

If the new hot button is a drop-down button, a programmatic click on the drop-down arrow will be done.

Remarks:
This flag is useful when changing the hot button through IToolBar::SetHotButton.

Flags used with the HotButtonChanging event

See also:
_IToolBarEvents::HotButtonChanging
Enumerator:
hbccbOther 

The hot button change was caused by some other event like a focus change or setting the hot button through code.

hbccbMouse 

The hot button change was caused by mouse input.

hbccbArrowKey 

The hot button change was caused by pressing an arrow key.

hbccbAcceleratorKey 

The hot button change was caused by pressing a button's shortcut key.

Constants used with the hImageList properties

See also:
IReBar::hImageList, IToolBar::hImageList
Enumerator:
ilBands 

Identifies the image list containing the bands' icons.

Identifies the image list containing the bands' icons. If this image list is set to 0, no icons are drawn.

See also:
IReBarBand::IconIndex
ilNormalButtons 

Identifies the image list containing the tool bar buttons' icons.

Identifies the image list containing the tool bar buttons' icons. If this image list is set to 0, no icons are drawn.

See also:
IToolBarButton::IconIndex
ilHighResolution 

Identifies the imagelist containing the tool bar buttons' icons used for Aero OLE drag images.

Identifies the imagelist containing the tool bar buttons' icons used when icons with a high resolution are required. Currently the only usage of this imagelist is the creation of Aero OLE drag images.
If this imagelist is set to 0, the ilNormalButtons imagelist is used.

See also:
ilNormalButtons, IToolBarButton::IconIndex, IToolBar::SupportOLEDragImages, IToolBar::OLEDrag
ilHotButtons 

Identifies the image list containing the tool bar buttons' icons for hot state.

Identifies the image list containing the tool bar buttons' icons for hot state. If this image list is set to 0, the icons out of the image list identified by ilNormalButtons are used.

See also:
IToolBarButton::IconIndex
ilPushedButtons 

Identifies the image list containing the tool bar buttons' icons for pushed state.

Identifies the image list containing the tool bar buttons' icons for pushed state. If this image list is set to 0, the icons out of the image list identified by ilNormalButtons are used.

Remarks:
Requires comctl32.dll version 6.10 or higher.
See also:
IToolBarButton::IconIndex
ilDisabledButtons 

Identifies the image list containing the tool bar buttons' icons for disabled state.

Identifies the image list containing the tool bar buttons' icons for disabled state. If this image list is set to 0, the icons out of the image list identified by ilNormalButtons are used.

See also:
IToolBarButton::IconIndex

Constants that may be used with the SetInsertMarkPosition and GetInsertMarkPosition methods

Constants that may be used for the relativePosition parameter of the SetInsertMarkPosition and GetInsertMarkPosition methods.

See also:
IToolBar::SetInsertMarkPosition, IToolBar::GetInsertMarkPosition
Enumerator:
impNowhere 

The insertion mark is or will be removed.

impBefore 

The insertion mark is or will be placed before the button.

impAfter 

The insertion mark is or will be placed after the button.

impDontChange 

The insertion mark won't be (re-)moved.

Constants used with the MenuBarTheme property

See also:
IToolBar::MenuBarTheme, IToolBar::MenuMode
Enumerator:
mbtNativeToolbar 

If the tool bar control is in menu mode, the tool bar buttons are drawn like normal tool bar buttons.

mbtNativeMenuBar 

If the tool bar control is in menu mode, the tool bar buttons are drawn like a native menu bar.

Flags used with the SelectedMenuItem event

See also:
_IToolBarEvents::SelectedMenuItem
Enumerator:
misIsGrayed 

The menu item is grayed.

misIsDisabled 

The menu item is disabled.

misDisplaysBitmap 

The menu item consists of a bitmap.

misIsChecked 

The menu item is checked, i.e. it has a checkmark.

misOpensSubMenu 

The menu item opens a sub-menu.

misDisplayedInNewColumnWithSeparator 

The menu item is displayed in a new column, and a vertical separator is drawn.

misDisplayedInNewColumnWithoutSeparator 

The menu item is displayed in a new column, but no vertical separator is drawn.

misIsHighlighted 

The menu item is highlighted.

misIsOwnerDrawn 

The menu item is drawn by the client application instead of the system.

See also:
_IReBarEvents::RawMenuMessage, _IToolBarEvents::RawMenuMessage
misUsesOptionCheckmarks 

The menu item uses option button style checkmarks instead of check box style checkmarks.

misIsSeparator 

The menu item is a separator.

misRightToLeftLayout 

The menu item has a right-to-left layout.

misIsSelectedWithMouse 

The menu item has been selected with the mouse cursor.

Flags used with the IToolBar::RegisterHotkey method

See also:
IToolBar::RegisterHotkey
Enumerator:
mkShift 

The combination of modifier keys contains the [SHIFT] key.

mkCtrl 

The combination of modifier keys contains the [CTRL] key.

mkAlt 

The combination of modifier keys contains the [ALT] key.

Constants used with the MousePointer properties

See also:
IReBar::MousePointer, IToolBar::MousePointer
Enumerator:
mpDefault 

The default mouse cursor is used.

mpArrow 

The default arrow is used as mouse cursor.

mpCross 

A cross is used as mouse cursor.

mpIBeam 

A vertical beam (like in textboxes) is used as mouse cursor.

mpIcon 

An icon is used as mouse cursor.

mpSize 

A mouse cursor indicating window sizing is used.

mpSizeNESW 

A mouse cursor indicating window sizing is used.

This is the cursor that is used while resizing a window into the direction of its upper-right or lower-left corner.

mpSizeNS 

A mouse cursor indicating window sizing is used.

This is the cursor that is used while resizing a window into the direction of its upper or lower border.

mpSizeNWSE 

A mouse cursor indicating window sizing is used.

This is the cursor that is used while resizing a window into the direction of its upper-left or lower-right corner.

mpSizeEW 

A mouse cursor indicating window sizing is used.

This is the cursor that is used while resizing a window into the direction of its left or right border.

mpUpArrow 

An arrow pointing upwardly is used as mouse cursor.

mpHourglass 

An hourglass is used as mouse cursor.

mpNoDrop 

An mouse cursor indicating that the control can't be a drop target is used.

mpArrowHourglass 

The default arrow with a small hourglass is used as mouse cursor.

mpArrowQuestion 

The default arrow with a small question mark is used as mouse cursor.

mpSizeAll 

A mouse cursor indicating window sizing to all directions is used.

mpHand 

A hand typically used for hyperlinks is used as mouse cursor.

mpInsertMedia 

A mouse cursor indicating that the program waits for some media is used.

mpScrollAll 

A mouse cursor indicating scrolling to all directions is used.

mpScrollN 

A mouse cursor indicating scrolling upwardly is used.

mpScrollNE 

A mouse cursor indicating scrolling to the window's upper-right corner is used.

mpScrollE 

A mouse cursor indicating scrolling to the window's right border is used.

mpScrollSE 

A mouse cursor indicating scrolling to the window's lower-right corner is used.

mpScrollS 

A mouse cursor indicating scrolling downwards is used.

mpScrollSW 

A mouse cursor indicating scrolling to the window's lower-left corner is used.

mpScrollW 

A mouse cursor indicating scrolling to the window's left border is used.

mpScrollNW 

A mouse cursor indicating scrolling to the window's upper-left corner is used.

mpScrollNS 

A mouse cursor indicating scrolling upwardly or downwards is used.

mpScrollEW 

A mouse cursor indicating scrolling to the window's left or right border is used.

mpCustom 

The custom mouse cursor defined by the MouseIcon property is used.

Constants used with the IToolBar::NormalDropDownButtonStyle property

See also:
IToolBar::NormalDropDownButtonStyle
Enumerator:
nddbsSplitButton 

Drop-down buttons are drawn with a separate drop-down arrow.

Buttons for which the IToolBarButton::DropDownStyle property is set to ddstNormal, are drawn with a drop-down arrow in a separate section to the button's right.

See also:
IToolBarButton::DropDownStyle
nddbsWithoutArrow 

Drop-down buttons are drawn without drop-down arrow.

Buttons for which the IToolBarButton::DropDownStyle property is set to ddstNormal, are drawn without a drop-down arrow.

See also:
IToolBarButton::DropDownStyle

Constants used with the OLEQueryContinueDrag event

See also:
_IToolBarEvents::OLEQueryContinueDrag, _IToolBarEvents::OLEGiveFeedback, IToolBar::OLEDrag
Enumerator:
oatcwContinue 

Continue the drag'n'drop operation.

oatcwCancel 

Cancel the drag'n'drop operation.

oatcwDrop 

Complete the drag'n'drop operation.

Constants used with the OLEDragImageStyle property

See also:
IToolBar::OLEDragImageStyle
Enumerator:
odistClassic 

OLE drag images will be generated in classic style.

odistAeroIfAvailable 

OLE drag images will be generated in Aero (Vista) style on systems supporting it and in classic style on other systems.

Remarks:
Aero style is supported by Windows Vista and newer systems.
The icons for Aero style drag images are taken from the ilHighResolution image list.
See also:
IToolBar::hImageList

Constants used with OLE drag'n'drop

See also:
_IReBarEvents::OLEDragEnter, _IReBarEvents::OLEDragMouseMove, _IReBarEvents::OLEDragDrop, _IToolBarEvents::OLEDragEnter, _IToolBarEvents::OLEDragMouseMove, _IToolBarEvents::OLEDragDrop
Enumerator:
odeNone 

No OLE drag and drop operation has occurred or will occur.

odeCopy 

A copy has occured or will occur.

odeMove 

A move has occured or will occur.

odeLink 

A link has occured or will occur.

odeCopyOrMove 

Combination of odeCopy and odeMove.

odeScroll 

The drop target window has scrolled or will scroll.

Constants used with the Orientation properties

See also:
IReBar::Orientation, IToolBar::Orientation
Enumerator:
oHorizontal 

The control displays its content (bands or buttons) horizontally, from left to right.

oVertical 

The control displays its content (bands or buttons) vertically, from bottom to top.

Constants used with the RegisterForOLEDragDrop properties

See also:
IReBar::RegisterForOLEDragDrop, IToolBar::RegisterForOLEDragDrop
Enumerator:
rfoddNoDragDrop 

OLE drag'n'drop support is deactivated.

rfoddNativeDragDrop 

The built-in OLE drag'n'drop support of ReBarWindow32 or ToolbarWindow32 is used.

rfoddAdvancedDragDrop 

OLE drag'n'drop is done by the ReBar or ToolBar class.

OLE drag'n'drop is done by the ReBar or ToolBar class, giving the client application full control over OLE drag'n'drop.

Constants used with the IReBar::ReplaceMDIFrameMenu property

See also:
IReBar::ReplaceMDIFrameMenu
Enumerator:
rmfmDontReplace 

The MDI frame window's menu remains unchanged.

rmfmJustRemove 

The MDI frame window's menu is removed.

The MDI frame window's menu is removed. The control does not overtake the menu's functionality.

rmfmFullReplace 

The MDI frame window's menu is removed and the control overtakes its functionality.

The MDI frame window's menu is removed. The control overtakes the menu's functionality.

Constants used with the ButtonGetDisplayInfo event

See also:
_IToolBarEvents::ButtonGetDisplayInfo
Enumerator:
riButtonText 

The event was fired to retrieve the button's text.

See also:
IToolBarButton::Text
riIconIndex 

The event was fired to retrieve the index of the button's icon.

See also:
IToolBarButton::IconIndex, IToolBarButton::ImageListIndex

Flags used with the RightToLeft properties

See also:
IReBar::RightToLeft, IToolBar::RightToLeft
Enumerator:
rtlText 

Read text from right to left.

The control's text is read from right to left, but the general layout is left to right.

rtlLayout 

Use a right to left layout.

The general layout is right to left.

Constants used with the SelectionState property

See also:
IToolBarButton::SelectionState
Enumerator:
ssUnchecked 

The check button is cleared.

ssChecked 

The check button is checked.

ssIndeterminate 

The check button is grayed, indicating an indeterminate state.

Constants used with the IReBar::SizingGripVisibility property

See also:
IReBarBand::SizingGripVisibility
Enumerator:
sgvNever 

The sizing grip is never displayed.

sgvAutomatic 

The sizing grip is displayed automatically, if the band can be moved or resized.

sgvAlways 

The sizing grip is always displayed, even if the band can't be moved or resized.

Constants used with the CustomDraw event

See also:
_IToolBarEvents::CustomDraw
Enumerator:
sbmTransparent 

Draw the button text with a transparent background.

sbmOpaque 

Draw the button text with an opaque background.

Constants used with the SuggestedIconSize property

See also:
IToolBar::SuggestedIconSize
Enumerator:
sisSmall 

The control suggests to use small icons (usually 16x16 pixels)

sisLarge 

The control suggests to use large icons (usually 24x24 pixels)

Constants used with the IToolBarButton::IconIndex property

See also:
IToolBarButton::IconIndex, SystemImageListTypeConstants
Enumerator:
siiExplorerBack 

The system image for the "Back" command.

Remarks:
This value is valid for the siltSmallExplorerBitmaps and siltLargeExplorerBitmaps image lists.
siiExplorerForward 

The system image for the "Forward" command.

Remarks:
This value is valid for the siltSmallExplorerBitmaps and siltLargeExplorerBitmaps image lists.
siiExplorerFavorites 

The system image for the "Favorites" command.

Remarks:
This value is valid for the siltSmallExplorerBitmaps and siltLargeExplorerBitmaps image lists.
siiExplorerAddToFavorites 

The system image for the "Add To Favorites" command.

Remarks:
This value is valid for the siltSmallExplorerBitmaps and siltLargeExplorerBitmaps image lists.
siiExplorerViewTree 

The system image for the "View Tree" command.

Remarks:
This value is valid for the siltSmallExplorerBitmaps and siltLargeExplorerBitmaps image lists.
siiStandardCut 

The system image for the "Cut" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardCopy 

The system image for the "Copy" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardPaste 

The system image for the "Paste" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardUndo 

The system image for the "Undo" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardRedo 

The system image for the "Redo" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardDelete 

The system image for the "Delete" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardFileNew 

The system image for the "New File" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardFileOpen 

The system image for the "Open File" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardFileSave 

The system image for the "Save File" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardPrintPreview 

The system image for the "Print Preview" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardProperties 

The system image for the "Properties" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardHelp 

The system image for the "Help" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardFind 

The system image for the "Find" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardReplace 

The system image for the "Replace" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiStandardPrint 

The system image for the "Print" command.

Remarks:
This value is valid for the siltSmallStandardBitmaps and siltLargeStandardBitmaps image lists.
siiViewLargeIcons 

The system image for the "Large Icons" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewSmallIcons 

The system image for the "Small Icons" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewList 

The system image for the "List" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewDetails 

The system image for the "Details" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewSortByName 

The system image for the "Sort By Name" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewSortBySize 

The system image for the "Sort By Size" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewSortByDate 

The system image for the "Sort By Date" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewSortByType 

The system image for the "Sort By Type" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewParentFolder 

The system image for the "Go To Parent Folder" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewNetConnect 

The system image for the "Connect To Network Drive" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewNetDisconnect 

The system image for the "Disconnect From Network Drive" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewNewFolder 

The system image for the "New Folder" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.
siiViewMenu 

The system image for the "View Menu" command.

Remarks:
This value is valid for the siltSmallViewBitmaps and siltLargeViewBitmaps image lists.

Constants used with the IToolBar::LoadDefaultImages method

See also:
IToolBar::LoadDefaultImages, SystemImageIndexConstants
Enumerator:
siltShellIcons256x256 

The system image list containing the shell icons, sized 256x256 pixels.

Remarks:
Requires Windows Vista or higher.
siltShellIcons48x48 

The system image list containing the shell icons, sized 48x48 pixels.

Remarks:
Requires Windows XP or higher.
siltShellIcons32x32 

The system image list containing the shell icons, sized 32x32 pixels.

siltShellIcons16x16 

The system image list containing the shell icons, sized 16x16 pixels.

siltSmallStandardBitmaps 

The small version of the system's standard bitmaps.

siltLargeStandardBitmaps 

The large version of the system's standard bitmaps.

siltSmallViewBitmaps 

The small version of the system's view mode bitmaps.

siltLargeViewBitmaps 

The large version of the system's view mode bitmaps.

siltSmallExplorerBitmaps 

The small version of the Windows Explorer bitmaps.

siltLargeExplorerBitmaps 

The large version of the Windows Explorer bitmaps.

siltNormalTravelAndFavoritesBitmaps 

Windows Explorer's travel and favorites bitmaps for normal button state.

Remarks:
Requires Windows Vista or higher.
siltHotTravelAndFavoritesBitmaps 

Windows Explorer's travel and favorites bitmaps for hot button state.

Remarks:
Requires Windows Vista or higher.
siltDisabledTravelAndFavoritesBitmaps 

Windows Explorer's travel and favorites bitmaps for disabled button state.

Remarks:
Requires Windows Vista or higher.
siltPressedTravelAndFavoritesBitmaps 

Windows Explorer's travel and favorites bitmaps for pressed button state.

Remarks:
Requires Windows Vista or higher.

Constants used with the VerticalTextAlignment property

See also:
IToolBar::VerticalTextAlignment, HAlignmentConstants
Enumerator:
valTop 

The button texts are top-aligned.

valCenter 

The button texts are vertically centered.

valBottom 

The button texts are bottom-aligned.

Constants used with the HotButtonChangeWrapping event

See also:
_IToolBarEvents::HotButtonChangeWrapping
Enumerator:
wrdBeforeCurrent 

The hot button is changed to a button before the current hot button.

wrdAfterCurrent 

The hot button is changed to a button after the current hot button.