TimoSoft ButtonControls  1.10.4.207
BtnCtlsLibU Module Reference

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

Classes

interface  _ICheckBoxEvents
 The CheckBox class' events interface More...
 
interface  _ICommandButtonEvents
 The CommandButton class' events interface More...
 
interface  _IFrameEvents
 The Frame class' events interface More...
 
interface  _IOLEDataObjectEvents
 The OLEDataObject class' events interface More...
 
interface  _IOptionButtonEvents
 The OptionButton class' events interface More...
 
class  CheckBox
 The CheckBox class More...
 
class  CommandButton
 The CommandButton class More...
 
class  Frame
 The Frame class More...
 
interface  ICheckBox
 The main interface (checkbox) More...
 
interface  ICommandButton
 The main interface (command button) More...
 
interface  IFrame
 The main interface (frame) More...
 
interface  IOLEDataObject
 Wraps the IDataObject interface More...
 
interface  IOptionButton
 The main interface (option button) More...
 
class  OLEDataObject
 The OLEDataObject class More...
 
class  OptionButton
 The OptionButton class More...
 
struct  RECTANGLE
 Holds the coordinates of a rectangle's opposing corners More...
 

Typedefs

typedef enum BtnCtlsLibU::AppearanceConstants AppearanceConstants
 Constants used with the Appearance properties More...
 
typedef enum BtnCtlsLibU::BorderStyleConstants BorderStyleConstants
 Constants used with the BorderStyle properties More...
 
typedef enum BtnCtlsLibU::ButtonTypeConstants ButtonTypeConstants
 Constants used with the ICommandButton::ButtonType property More...
 
typedef enum BtnCtlsLibU::ContentTypeConstants ContentTypeConstants
 Constants used with the ContentType properties More...
 
typedef enum BtnCtlsLibU::ControlStateConstants ControlStateConstants
 Constants used with the GetControlState methods More...
 
typedef enum BtnCtlsLibU::CustomDrawControlStateConstants CustomDrawControlStateConstants
 Constants used to identify control states during custom draw More...
 
typedef enum BtnCtlsLibU::CustomDrawReturnValuesConstants CustomDrawReturnValuesConstants
 Flags used to control further custom draw processing More...
 
typedef enum BtnCtlsLibU::CustomDrawStageConstants CustomDrawStageConstants
 Constants used to identify custom draw stages More...
 
typedef enum BtnCtlsLibU::CustomDropDownAreaSizeReturnValuesConstants CustomDropDownAreaSizeReturnValuesConstants
 Constants used to control the sizing of a split button's drop-down area More...
 
typedef enum BtnCtlsLibU::DisabledEventsConstants DisabledEventsConstants
 Flags used with the DisabledEvents properties More...
 
typedef enum BtnCtlsLibU::DropDescriptionIconConstants DropDescriptionIconConstants
 Constants used with the IOLEDataObject::GetDropDescription and IOLEDataObject::SetDropDescription methods More...
 
typedef enum BtnCtlsLibU::DropDownStyleConstants DropDownStyleConstants
 Constants used with the ICommandButton::DropDownStyle property More...
 
typedef enum BtnCtlsLibU::ExtendedMouseButtonConstants ExtendedMouseButtonConstants
 Constants used with the extended mouse button events More...
 
typedef enum BtnCtlsLibU::HAlignmentConstants HAlignmentConstants
 Constants used with the HAlignment properties More...
 
typedef enum BtnCtlsLibU::IconAlignmentConstants IconAlignmentConstants
 Constants used with the IconAlignment properties More...
 
typedef enum BtnCtlsLibU::MousePointerConstants MousePointerConstants
 Constants used with the MousePointer properties More...
 
typedef enum BtnCtlsLibU::OLEDropEffectConstants OLEDropEffectConstants
 Constants used with OLE drag'n'drop More...
 
typedef enum BtnCtlsLibU::OwnerDrawActionConstants OwnerDrawActionConstants
 Constants used to identify the required drawing action during owner-drawing More...
 
typedef enum BtnCtlsLibU::OwnerDrawControlStateConstants OwnerDrawControlStateConstants
 Constants used to identify control states during owner-drawing More...
 
typedef enum BtnCtlsLibU::RightToLeftConstants RightToLeftConstants
 Flags used with the RightToLeft properties More...
 
typedef enum BtnCtlsLibU::SelectionStateConstants SelectionStateConstants
 Constants used with the SelectionState property More...
 
typedef enum BtnCtlsLibU::StyleConstants StyleConstants
 Constants used with the Style properties More...
 
typedef enum BtnCtlsLibU::VAlignmentConstants VAlignmentConstants
 Constants used with the VAlignment properties More...
 
typedef struct BtnCtlsLibU::RECTANGLE RECTANGLE
 Holds the coordinates of a rectangle's opposing corners More...
 

Enumerations

enum  AppearanceConstants { a2D, a3D, a3DLight }
 Constants used with the Appearance properties More...
 
enum  BorderStyleConstants { bsNone, bsFixedSingle }
 Constants used with the BorderStyle properties More...
 
enum  ButtonTypeConstants { btCommandButton, btCommandLink, btSplitButton }
 Constants used with the ICommandButton::ButtonType property More...
 
enum  ContentTypeConstants { ctText, ctBitmap, ctIcon }
 Constants used with the ContentType properties More...
 
enum  ControlStateConstants {
  csUnchecked = 0x0000, csChecked = 0x0001, csIndeterminate = 0x0002, csPushed = 0x0004,
  csFocus = 0x0008, csHot = 0x0200, csDropDownPushed = 0x0400
}
 Constants used with the GetControlState methods More...
 
enum  CustomDrawControlStateConstants {
  cdcsSelected = 0x1, cdcsGrayed = 0x2, cdcsDisabled = 0x4, cdcsChecked = 0x8,
  cdcsFocus = 0x10, cdcsDefault = 0x20, cdcsHot = 0x40, cdcsMarked = 0x80,
  cdcsIndeterminate = 0x100, cdcsDontShowKeyboardCues = 0x200, cdisNearHot = 0x400, cdisOtherSideHot = 0x800,
  cdisDropHilited = 0x1000
}
 Constants used to identify control states during custom draw More...
 
enum  CustomDrawReturnValuesConstants {
  cdrvDoDefault = 0x0, cdrvNewFont = 0x2, cdrvSkipDefault = 0x4, cdrvDoErase = 0x8,
  cdrvNotifyPostPaint = 0x10, cdrvNotifyItemDraw = 0x20, cdrvNotifySubItemDraw = 0x20, cdrvNotifyPostErase = 0x40,
  cdrvNotifyItemErase = 0x80, cdrvSkipPostPaint = 0x100
}
 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
}
 Constants used to identify custom draw stages More...
 
enum  CustomDropDownAreaSizeReturnValuesConstants { cddasrvDoDefault = 0x0, cddasrvSkipDefault = 0x4 }
 Constants used to control the sizing of a split button's drop-down area More...
 
enum  DisabledEventsConstants {
  deMouseEvents = 0x01, deClickEvents = 0x02, deKeyboardEvents = 0x08, deCustomDraw = 0x100,
  deCustomDropDownAreaSize = 0x400
}
 Flags used with the DisabledEvents properties 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  DropDownStyleConstants { ddsImage, ddsGlyph }
 Constants used with the ICommandButton::DropDownStyle property More...
 
enum  ExtendedMouseButtonConstants { embXButton1 = 0x20, embXButton2 = 0x40 }
 Constants used with the extended mouse button events More...
 
enum  HAlignmentConstants { halLeft, halCenter, halRight }
 Constants used with the HAlignment properties More...
 
enum  IconAlignmentConstants {
  ialLeft, ialRight, ialTop, ialBottom,
  ialCenter
}
 Constants used with the IconAlignment properties 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  OLEDropEffectConstants {
  odeNone = 0, odeCopy = 1, odeMove = 2, odeLink = 4,
  odeCopyOrMove = odeCopy | odeMove, odeScroll = 0x80000000
}
 Constants used with OLE drag'n'drop More...
 
enum  OwnerDrawActionConstants { odaDrawEntire = 0x1, odaSelectionStateChanged = 0x2, odaFocusChanged = 0x4 }
 Constants used to identify the required drawing action during owner-drawing More...
 
enum  OwnerDrawControlStateConstants {
  odcsNormal = 0x0, odcsPushed = 0x1, odcsSelected = 0x2, odcsIndeterminate = 0x4,
  odcsFocus = 0x8, odcsHot = 0x10, odcsDisabled = 0x20, odcsNoAccelerator = 0x100,
  odcsNoFocusRectangle = 0x200
}
 Constants used to identify control states during owner-drawing 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  StyleConstants { sNormal, sFlat, sOwnerDrawn }
 Constants used with the Style properties More...
 
enum  VAlignmentConstants { valTop, valCenter, valBottom }
 Constants used with the VAlignment properties More...
 

Detailed Description

Contains COM definitions for the controls' public interfaces

This is the Unicode version of the ButtonControls COM library.

Typedef Documentation

◆ AppearanceConstants

◆ BorderStyleConstants

◆ ButtonTypeConstants

◆ ContentTypeConstants

◆ ControlStateConstants

◆ CustomDrawControlStateConstants

◆ CustomDrawReturnValuesConstants

◆ CustomDrawStageConstants

◆ CustomDropDownAreaSizeReturnValuesConstants

Constants used to control the sizing of a split button's drop-down area

See also
_ICommandButtonEvents::CustomDropDownAreaSize

◆ DisabledEventsConstants

◆ DropDescriptionIconConstants

◆ DropDownStyleConstants

◆ ExtendedMouseButtonConstants

◆ HAlignmentConstants

◆ IconAlignmentConstants

◆ MousePointerConstants

◆ OLEDropEffectConstants

◆ OwnerDrawActionConstants

◆ OwnerDrawControlStateConstants

◆ RightToLeftConstants

◆ SelectionStateConstants

Constants used with the SelectionState property

See also
ICheckBox::SelectionState

◆ StyleConstants

◆ VAlignmentConstants

◆ RECTANGLE

Enumeration Type Documentation

◆ AppearanceConstants

Constants used with the Appearance properties

See also
ICheckBox::Appearance, ICommandButton::Appearance, IFrame::Appearance, IOptionButton::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.

◆ BorderStyleConstants

Constants used with the BorderStyle properties

See also
ICheckBox::BorderStyle, ICommandButton::BorderStyle, IFrame::BorderStyle, IOptionButton::BorderStyle
Enumerator
bsNone 

The control is drawn without an inner border.

bsFixedSingle 

The control is drawn with an inner border.

◆ ButtonTypeConstants

enum ButtonTypeConstants
property

Constants used with the ICommandButton::ButtonType property

See also
ICommandButton::ButtonType
Enumerator
btCommandButton 

The control is a simple command button.

btCommandLink 

The control is a command link.

Remarks
Requires comctl32.dll version 6.10 or higher.
See also
ICommandButton::CommandLinkNote
btSplitButton 

The control is a button that is split into two parts.

Remarks
Requires comctl32.dll version 6.10 or higher.
See also
ICommandButton::ShowSplitLine, ICommandButton::DropDownOnRight, ICommandButton::hDropDownImageList

◆ ContentTypeConstants

Constants used with the ContentType properties

See also
ICheckBox::ContentType, ICommandButton::ContentType, IFrame::ContentType, IOptionButton::ContentType
Enumerator
ctText 

The control's caption consists of text.

See also
ICheckBox::Text, ICommandButton::Text, IFrame::Text, IOptionButton::Text
ctBitmap 

The control's caption consists of a bitmap.

See also
ICheckBox::Image, ICommandButton::Image, IFrame::Image, IOptionButton::Image
ctIcon 

The control's caption consists of an icon.

See also
ICheckBox::Image, ICommandButton::Image, IFrame::Image, IOptionButton::Image

◆ ControlStateConstants

Constants used with the GetControlState methods

See also
ICheckBox::GetControlState, ICommandButton::GetControlState, IFrame::GetControlState, IOptionButton::GetControlState
Enumerator
csUnchecked 

The control is unchecked.

csChecked 

The control is checked.

csIndeterminate 

The control is in an indeterminate state.

csPushed 

The control is pushed.

csFocus 

The control has the keyboard focus.

csHot 

The control is currently under the mouse cursor.

Remarks
Requires comctl32.dll version 6.0 or higher.
csDropDownPushed 

The split button's drop-down part is pushed.

Remarks
Requires comctl32.dll version 6.10 or higher.

◆ CustomDrawControlStateConstants

Constants used to identify control states during custom draw

See also
CustomDrawStageConstants, CustomDrawReturnValuesConstants, _ICheckBoxEvents::CustomDraw, _ICommandButtonEvents::CustomDraw, _IOptionButtonEvents::CustomDraw, OwnerDrawControlStateConstants
Enumerator
cdcsSelected 

The control is selected.

cdcsGrayed 

The control is grayed.

Used in following samples: The "Menu Button" sample
cdcsDisabled 

The control is disabled.

Used in following samples: The "Menu Button" sample
cdcsChecked 

The control is checked.

Remarks
Current versions of Windows probably do not use this flag for button controls.
cdcsFocus 

The control has the keyboard focus.

cdcsDefault 

The control is the default control.

Remarks
Current versions of Windows probably do not use this flag for button controls.
cdcsHot 

The control is currently under the mouse cursor.

cdcsMarked 

The control is marked.

Remarks
Current versions of Windows probably do not use this flag for button controls.
cdcsIndeterminate 

The control is in an indeterminate state.

Remarks
Current versions of Windows probably do not use this flag for button controls.
cdcsDontShowKeyboardCues 

The control should not display keyboard cues.

cdisNearHot 

The item is part of a control that is currently under the mouse pointer ("hot"), but the item is not "hot" itself.

Remarks
Requires comctl32.dll version 6.10 or higher.
Current versions of Windows probably do not use this flag for button controls.
cdisOtherSideHot 

The item is part of a split button that is currently under the mouse pointer ("hot"), but the item is not "hot" itself.

Remarks
Requires comctl32.dll version 6.10 or higher.
Current versions of Windows don't seem to use this flag for button controls.
cdisDropHilited 

The item is highlighted as a drop target.

Remarks
Requires comctl32.dll version 6.10 or higher.
Current versions of Windows probably do not use this flag for button controls.

◆ CustomDrawReturnValuesConstants

Flags used to control further custom draw processing

See also
CustomDrawControlStateConstants, CustomDrawStageConstants, _ICheckBoxEvents::CustomDraw, _ICommandButtonEvents::CustomDraw, _IOptionButtonEvents::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.

Used in following samples: All custom draw samples
cdrvNewFont 

Use different font and colors.

Advises the control to draw itself using the specified font and colors.

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

Don't draw the control.

Advises the control to not draw itself. Use this to draw the control entirely yourself.

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

Draw the background only.

Advises the control to draw the background only.

Remarks
Requires comctl32.dll version 6.10 or higher.
This flag is valid if the custom draw stage equals cdsPrePaint.
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 item related drawing operations.

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdrvNotifySubItemDraw 

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

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
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 cdsPreErase.
cdrvNotifyItemErase 

Fire the custom draw event for item related erasing operations.

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdrvSkipPostPaint 

Don't draw the focus rectangle.

Advises the control to not draw the focus rectangle.

Remarks
Requires comctl32.dll version 6.10 or higher.
This flag is valid if the custom draw stage equals cdsPrePaint.

◆ CustomDrawStageConstants

Constants used to identify custom draw stages

See also
CustomDrawControlStateConstants, CustomDrawReturnValuesConstants, _ICheckBoxEvents::CustomDraw, _ICommandButtonEvents::CustomDraw, _IOptionButtonEvents::CustomDraw
Enumerator
cdsPrePaint 

Before the painting cycle begins.

Used in following samples: All custom draw samples
cdsPostPaint 

After the painting cycle is complete.

Used in following samples: The "Menu Button" sample
cdsPreErase 

Before the erasing cycle begins.

cdsPostErase 

After the erasing cycle is complete.

cdsItem 

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

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdsItemPrePaint 

Before an item is drawn.

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdsItemPostPaint 

After an item has been drawn.

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdsItemPreErase 

Before an item is erased.

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdsItemPostErase 

After an item has been erased.

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdsSubItem 

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

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdsSubItemPrePaint 

Before a sub-item is drawn.

Remarks
This flag is not valid for button controls. It's simply defined for completeness.
cdsSubItemPostPaint 

After a sub-item has been drawn.

Remarks
This flag is not valid for button controls. It's simply defined for completeness.

◆ CustomDropDownAreaSizeReturnValuesConstants

Constants used to control the sizing of a split button's drop-down area

See also
_ICommandButtonEvents::CustomDropDownAreaSize
Enumerator
cddasrvDoDefault 

Don't use the customized bounding rectangle.

Advises the control to use the default bounding rectangle of the drop-down area in the current paint cycle.

cddasrvSkipDefault 

Use the customized bounding rectangle.

Advises the control to use the user-defined bounding rectangle of the drop-down area in the current paint cycle.

◆ DisabledEventsConstants

Flags used with the DisabledEvents properties

See also
ICheckBox::DisabledEvents, ICommandButton::DisabledEvents, IFrame::DisabledEvents, IOptionButton::DisabledEvents
Enumerator
deMouseEvents 

Mouse events won't be fired.

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

See also
_ICheckBoxEvents::MouseDown, _ICheckBoxEvents::MouseUp, _ICheckBoxEvents::MouseEnter, _ICheckBoxEvents::MouseHover, _ICheckBoxEvents::MouseLeave, _ICheckBoxEvents::MouseMove,
_ICommandButtonEvents::MouseDown, _ICommandButtonEvents::MouseUp, _ICommandButtonEvents::MouseEnter, _ICommandButtonEvents::MouseHover, _ICommandButtonEvents::MouseLeave, _ICommandButtonEvents::MouseMove,
_IFrameEvents::MouseDown, _IFrameEvents::MouseUp, _IFrameEvents::MouseEnter, _IFrameEvents::MouseHover, _IFrameEvents::MouseLeave, _IFrameEvents::MouseMove,
_IOptionButtonEvents::MouseDown, _IOptionButtonEvents::MouseUp, _IOptionButtonEvents::MouseEnter, _IOptionButtonEvents::MouseHover, _IOptionButtonEvents::MouseLeave, _IOptionButtonEvents::MouseMove
deClickEvents 

Click events won't be fired.

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

See also
_ICheckBoxEvents::Click, _ICheckBoxEvents::DblClick, _ICheckBoxEvents::MClick, _ICheckBoxEvents::MDblClick, _ICheckBoxEvents::RClick, _ICheckBoxEvents::RDblClick,
_ICheckBoxEvents::XClick, _ICheckBoxEvents::XDblClick,
_ICommandButtonEvents::Click, _ICommandButtonEvents::DblClick, _ICommandButtonEvents::MClick, _ICommandButtonEvents::MDblClick, _ICommandButtonEvents::RClick, _ICommandButtonEvents::RDblClick,
_ICommandButtonEvents::XClick, _ICommandButtonEvents::XDblClick,
_IFrameEvents::Click, _IFrameEvents::DblClick, _IFrameEvents::MClick, _IFrameEvents::MDblClick, _IFrameEvents::RClick, _IFrameEvents::RDblClick,
_IFrameEvents::XClick, _IFrameEvents::XDblClick,
_IOptionButtonEvents::Click, _IOptionButtonEvents::DblClick, _IOptionButtonEvents::MClick, _IOptionButtonEvents::MDblClick, _IOptionButtonEvents::RClick, _IOptionButtonEvents::RDblClick, _IOptionButtonEvents::XClick, _IOptionButtonEvents::XDblClick,
deKeyboardEvents 

Keyboard events won't be fired.

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

See also
_ICheckBoxEvents::KeyDown, _ICheckBoxEvents::KeyUp, _ICheckBoxEvents::KeyPress,
_ICommandButtonEvents::KeyDown, _ICommandButtonEvents::KeyUp, _ICommandButtonEvents::KeyPress,
_IOptionButtonEvents::KeyDown, _IOptionButtonEvents::KeyUp, _IOptionButtonEvents::KeyPress
deCustomDraw 

The CustomDraw event won't be fired.

The following event won't be fired: CustomDraw

See also
_ICheckBoxEvents::CustomDraw, _ICommandButtonEvents::CustomDraw, _IOptionButtonEvents::CustomDraw
deCustomDropDownAreaSize 

The CustomDropDownAreaSize event won't be fired.

The following event won't be fired: CustomDropDownAreaSize

See also
_ICommandButtonEvents::CustomDropDownAreaSize

◆ DropDescriptionIconConstants

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.

◆ DropDownStyleConstants

enum DropDownStyleConstants
property

Constants used with the ICommandButton::DropDownStyle property

See also
ICommandButton::DropDownStyle
Enumerator
ddsImage 

The drop-down arrow is an image out of an imagelist.

See also
ICommandButton::hDropDownImageList
ddsGlyph 

The drop-down arrow is a character out of the font Webdings.

See also
ICommandButton::DropDownGlyph

◆ ExtendedMouseButtonConstants

◆ HAlignmentConstants

Constants used with the HAlignment properties

See also
ICheckBox::HAlignment, ICommandButton::HAlignment, IFrame::HAlignment, IOptionButton::HAlignment, VAlignmentConstants, IconAlignmentConstants
Enumerator
halLeft 

The control's caption is left-aligned.

halCenter 

The control's caption is horizontally centered.

halRight 

The control's caption is right-aligned.

◆ IconAlignmentConstants

Constants used with the IconAlignment properties

See also
ICheckBox::IconAlignment, ICommandButton::IconAlignment, IFrame::IconAlignment, IOptionButton::IconAlignment, HAlignmentConstants, VAlignmentConstants
Enumerator
ialLeft 

The control's icon is left-aligned.

ialRight 

The control's icon is right-aligned.

ialTop 

The control's icon is top-aligned.

ialBottom 

The control's icon is bottom-aligned.

ialCenter 

The control's icon is centered.

◆ MousePointerConstants

Constants used with the MousePointer properties

See also
ICheckBox::MousePointer, ICommandButton::MousePointer, IFrame::MousePointer, IOptionButton::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.

◆ OLEDropEffectConstants

Constants used with OLE drag'n'drop

See also
_ICheckBoxEvents::OLEDragEnter, _ICheckBoxEvents::OLEDragMouseMove, _ICheckBoxEvents::OLEDragDrop,
_ICommandButtonEvents::OLEDragEnter, _ICommandButtonEvents::OLEDragMouseMove, _ICommandButtonEvents::OLEDragDrop,
_IFrameEvents::OLEDragEnter, _IFrameEvents::OLEDragMouseMove, _IFrameEvents::OLEDragDrop,
_IOptionButtonEvents::OLEDragEnter, _IOptionButtonEvents::OLEDragMouseMove, _IOptionButtonEvents::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.

◆ OwnerDrawActionConstants

Constants used to identify the required drawing action during owner-drawing

See also
_ICheckBoxEvents::OwnerDraw, _ICommandButtonEvents::OwnerDraw, _IFrameEvents::OwnerDraw, _IOptionButtonEvents::OwnerDraw
Enumerator
odaDrawEntire 

The entire control needs to be drawn.

odaSelectionStateChanged 

The control's selection state has changed.

odaFocusChanged 

The control has gained or lost the keyboard focus.

◆ OwnerDrawControlStateConstants

Constants used to identify control states during owner-drawing

See also
_ICheckBoxEvents::OwnerDraw, _ICommandButtonEvents::OwnerDraw, _IFrameEvents::OwnerDraw, _IOptionButtonEvents::OwnerDraw, CustomDrawControlStateConstants
Enumerator
odcsNormal 

The control is in no special state.

odcsPushed 

The control is pushed.

odcsSelected 

The control is selected.

odcsIndeterminate 

The control is in an indeterminate state.

odcsFocus 

The control has the keyboard focus.

odcsHot 

The control is in 'hot' state, i. e. it's below the mouse cursor.

odcsDisabled 

The control is disabled.

odcsNoAccelerator 

The control is drawn without the keyboard accelerator cues.

odcsNoFocusRectangle 

The control is drawn without focus indicator cues.

◆ RightToLeftConstants

Flags used with the RightToLeft properties

See also
ICheckBox::RightToLeft, ICommandButton::RightToLeft, IFrame::RightToLeft, IOptionButton::RightToLeft
Enumerator
rtlText 

Read text from right to left.

The items' 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.

◆ SelectionStateConstants

enum SelectionStateConstants
property

Constants used with the SelectionState property

See also
ICheckBox::SelectionState
Enumerator
ssUnchecked 

The checkbox is cleared.

ssChecked 

The checkbox is checked.

ssIndeterminate 

The checkbox is grayed, indicating an indeterminate state.

Remarks
This value is valid only if the TriState property is set to True.
See also
ICheckBox::TriState

◆ StyleConstants

Constants used with the Style properties

See also
ICheckBox::Style, ICommandButton::Style, IFrame::Style, IOptionButton::Style
Enumerator
sNormal 

The control is drawn in common style.

sFlat 

The control is drawn in flat style.

Remarks
This value isn't supported for themed controls.
sOwnerDrawn 

The control raises the OwnerDraw event if it must be drawn.

See also
_ICheckBoxEvents::OwnerDraw, _ICheckBoxEvents::CustomDraw,
_ICommandButtonEvents::OwnerDraw, _ICommandButtonEvents::CustomDraw,
_IFrameEvents::OwnerDraw,
_IOptionButtonEvents::OwnerDraw, _IOptionButtonEvents::CustomDraw

◆ VAlignmentConstants

Constants used with the VAlignment properties

See also
ICheckBox::VAlignment, ICommandButton::VAlignment, IOptionButton::VAlignment, HAlignmentConstants, IconAlignmentConstants
Enumerator
valTop 

The control's caption is top-aligned.

valCenter 

The control's caption is vertically centered.

valBottom 

The control's caption is bottom-aligned.