TimoSoft TrackBar  1.5.2.92
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
TrackBarCtlLibU 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  IOLEDataObject
 Wraps the IDataObject interface More...
 
interface  _IOLEDataObjectEvents
 The OLEDataObject class' events interface More...
 
class  OLEDataObject
 The OLEDataObject class More...
 
interface  ITrackBar
 The main interface More...
 
interface  _ITrackBarEvents
 The TrackBar class' events interface More...
 
class  TrackBar
 The TrackBar class More...
 

Typedefs

typedef enum
TrackBarCtlLibU::AppearanceConstants 
AppearanceConstants
 Constants used with the Appearance property More...
 
typedef enum
TrackBarCtlLibU::BackgroundDrawModeConstants 
BackgroundDrawModeConstants
 Constants used with the BackgroundDrawMode property More...
 
typedef enum
TrackBarCtlLibU::BorderStyleConstants 
BorderStyleConstants
 Constants used with the BorderStyle property More...
 
typedef enum
TrackBarCtlLibU::CustomDrawControlPartConstants 
CustomDrawControlPartConstants
 Constants used to identify parts of the control More...
 
typedef enum
TrackBarCtlLibU::CustomDrawControlStateConstants 
CustomDrawControlStateConstants
 Flags used to identify control states during custom draw More...
 
typedef enum
TrackBarCtlLibU::CustomDrawReturnValuesConstants 
CustomDrawReturnValuesConstants
 Flags used to control further custom draw processing More...
 
typedef enum
TrackBarCtlLibU::CustomDrawStageConstants 
CustomDrawStageConstants
 Constants used to identify custom draw stages More...
 
typedef enum
TrackBarCtlLibU::DisabledEventsConstants 
DisabledEventsConstants
 Flags used with the DisabledEvents property More...
 
typedef enum
TrackBarCtlLibU::DropDescriptionIconConstants 
DropDescriptionIconConstants
 Constants used with the IOLEDataObject::GetDropDescription and IOLEDataObject::SetDropDescription methods More...
 
typedef enum
TrackBarCtlLibU::MousePointerConstants 
MousePointerConstants
 Constants used with the MousePointer property More...
 
typedef enum
TrackBarCtlLibU::OLEDropEffectConstants 
OLEDropEffectConstants
 Constants used with OLE drag'n'drop More...
 
typedef enum
TrackBarCtlLibU::OrientationConstants 
OrientationConstants
 Constants used with the Orientation property More...
 
typedef enum
TrackBarCtlLibU::PositionChangeTypeConstants 
PositionChangeTypeConstants
 Constants used with the PositionChanging and PositionChanged events More...
 
typedef enum
TrackBarCtlLibU::SelectionTypeConstants 
SelectionTypeConstants
 Constants used with the SelectionType property More...
 
typedef enum
TrackBarCtlLibU::TickMarksPositionConstants 
TickMarksPositionConstants
 Constants used with the TickMarksPosition property More...
 
typedef enum
TrackBarCtlLibU::ToolTipPositionConstants 
ToolTipPositionConstants
 Constants used with the ToolTipPosition property More...
 
typedef struct
TrackBarCtlLibU::RECTANGLE 
RECTANGLE
 Holds the coordinates of a rectangle's opposing corners More...
 

Enumerations

enum  AppearanceConstants { a2D, a3D, a3DLight }
 Constants used with the Appearance property More...
 
enum  BackgroundDrawModeConstants { bdmNormal, bdmByParent }
 Constants used with the BackgroundDrawMode property More...
 
enum  BorderStyleConstants { bsNone, bsFixedSingle }
 Constants used with the BorderStyle property More...
 
enum  CustomDrawControlPartConstants { cdcpEntireControl = 0x0, cdcpTics = 0x1, cdcpSlider = 0x2, cdcpChannel = 0x3 }
 Constants used to identify parts of the control More...
 
enum  CustomDrawControlStateConstants {
  cdcsSelected = 0x1, cdcsGrayed = 0x2, cdcsDisabled = 0x4, cdcsChecked = 0x8,
  cdcsFocus = 0x10, cdcsDefault = 0x20, cdcsHot = 0x40, cdcsMarked = 0x80,
  cdcsIndeterminate = 0x100, cdisShowKeyboardCues = 0x200, cdisNearHot = 0x400, cdisOtherSideHot = 0x800,
  cdisDropHilited = 0x1000
}
 Flags 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  DisabledEventsConstants {
  deMouseEvents = 0x01, deClickEvents = 0x02, deKeyboardEvents = 0x08, deCustomDraw = 0x100,
  deGetInfoTipText = 0x200
}
 Flags used with the DisabledEvents 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  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 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 property More...
 
enum  PositionChangeTypeConstants {
  pctBeginTrack, pctEndTrack, pctTracking, pctJumpToPosition,
  pctLargeStepUp, pctLargeStepDown, pctSmallStepUp, pctSmallStepDown
}
 Constants used with the PositionChanging and PositionChanged events More...
 
enum  SelectionTypeConstants { stDiscreteValue, stRangeSelection }
 Constants used with the SelectionType property More...
 
enum  TickMarksPositionConstants { tmpNone, tmpBottomOrRight, tmpTopOrLeft, tmpBoth }
 Constants used with the TickMarksPosition property More...
 
enum  ToolTipPositionConstants { ttpNone, ttpBottomOrRight, ttpTopOrLeft }
 Constants used with the ToolTipPosition property More...
 

Detailed Description

Contains COM definitions for the controls' public interfaces

This is the Unicode version of the TrackBar COM library.

Typedef Documentation

Constants used with the Appearance property

See Also
ITrackBar::Appearance

Constants used with the BackgroundDrawMode property

See Also
ITrackBar::BackgroundDrawMode

Constants used with the BorderStyle property

See Also
ITrackBar::BorderStyle

Flags used with the DisabledEvents property

See Also
ITrackBar::DisabledEvents

Constants used with the MousePointer property

See Also
ITrackBar::MousePointer

Constants used with the Orientation property

See Also
ITrackBar::Orientation

Constants used with the SelectionType property

See Also
ITrackBar::SelectionType

Constants used with the TickMarksPosition property

See Also
ITrackBar::TickMarksPosition

Constants used with the ToolTipPosition property

See Also
ITrackBar::ToolTipPosition

Holds the coordinates of a rectangle's opposing corners

See Also
_ITrackBarEvents::CustomDraw

Enumeration Type Documentation

Constants used with the Appearance property

See Also
ITrackBar::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 BackgroundDrawMode property

See Also
ITrackBar::BackgroundDrawMode
Enumerator
bdmNormal 

The control's background is painted by the control itself.

bdmByParent 

The control's background is painted by the control's parent window.

The control's background is painted by the control's parent window, which receives a
\c WM_PRINTCLIENT message if the background must be drawn.
Remarks
Requires comctl32.dll version 6.10 or higher.
See Also
WM_PRINTCLIENT

Constants used with the BorderStyle property

See Also
ITrackBar::BorderStyle
Enumerator
bsNone 

The control is drawn without an inner border.

bsFixedSingle 

The control is drawn with an inner border.

Constants used to identify parts of the control

See Also
CustomDrawControlStateConstants, CustomDrawStageConstants, CustomDrawReturnValuesConstants, _ITrackBarEvents::CustomDraw
Enumerator
cdcpEntireControl 

The CustomDraw event was raised for the entire control.

cdcpTics 

The CustomDraw event was raised for the control's tick marks.

cdcpSlider 

The CustomDraw event was raised for the control's slider.

cdcpChannel 

The CustomDraw event was raised for the control's trackbar channel.

Flags used to identify control states during custom draw

See Also
CustomDrawControlPartConstants, CustomDrawStageConstants, CustomDrawReturnValuesConstants, _ITrackBarEvents::CustomDraw
Enumerator
cdcsSelected 

The control is selected.

Remarks
This flag is valid if the control part equals cdcpSlider.
cdcsGrayed 

The control is grayed.

Remarks
Current versions of Windows probably do not use this flag for trackbar controls.
cdcsDisabled 

The control is disabled.

Remarks
Current versions of Windows probably do not use this flag for trackbar controls.
cdcsChecked 

The control is checked.

Remarks
Current versions of Windows probably do not use this flag for trackbar 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 trackbar controls.
cdcsHot 

The control is currently under the mouse cursor.

Remarks
Current versions of Windows probably do not use this flag for trackbar controls.
cdcsMarked 

The control is marked.

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

The control is in an indeterminate state.

Remarks
Current versions of Windows probably do not use this flag for trackbar controls.
cdisShowKeyboardCues 

The item is a keyboard cue.

Remarks
Requires comctl32.dll version 6.0 or higher.
Current versions of Windows probably do not use this flag for trackbar controls.
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 trackbar 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 probably do not use this flag for trackbar 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 trackbar controls.

Flags used to control further custom draw processing

See Also
CustomDrawControlPartConstants, CustomDrawControlStateConstants, CustomDrawStageConstants, _ITrackBarEvents::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:
The "Labeled Tick Marks" sample
cdrvNewFont 

Use different font and colors.

Advises the control to draw itself using the specified font and colors.
Remarks
This flag is not valid for trackbar controls. It's simply defined for completeness.
cdrvSkipDefault 

Don't draw the control part.

Advises the control to not draw the specified control part. Use this to draw the part entirely
yourself.
Remarks
This flag is valid if the custom draw stage equals cdsPrePaint or cdsItemPrePaint.
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 or cdsItemPrePaint.
Used in following samples:
The "Labeled Tick Marks" sample
cdrvNotifyItemDraw 

Fire the custom draw event for drawing operations related to a single control part.

Remarks
This flag is valid if the custom draw stage equals cdsPrePaint.
Used in following samples:
The "Labeled Tick Marks" sample
See Also
CustomDrawControlPartConstants
cdrvNotifySubItemDraw 

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

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

Fire the custom draw event for item related erasing operations.

Remarks
This flag is not valid for trackbar 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.

Constants used to identify custom draw stages

See Also
CustomDrawControlPartConstants, CustomDrawControlStateConstants, CustomDrawReturnValuesConstants, _ITrackBarEvents::CustomDraw
Enumerator
cdsPrePaint 

Before the painting cycle begins.

Used in following samples:
All custom draw samples
cdsPostPaint 

After the painting cycle is complete.

cdsPreErase 

Before the erasing cycle begins.

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

After the erasing cycle is complete.

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

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

See Also
CustomDrawControlPartConstants
cdsItemPrePaint 

Before a control part is drawn.

Used in following samples:
The "Labeled Tick Marks" sample
See Also
CustomDrawControlPartConstants
cdsItemPostPaint 

After a control part has been drawn.

Used in following samples:
The "Labeled Tick Marks" sample
See Also
CustomDrawControlPartConstants
cdsItemPreErase 

Before an item is erased.

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

After an item has been erased.

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

Before a sub-item is drawn.

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

After a sub-item has been drawn.

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

Flags used with the DisabledEvents property

See Also
ITrackBar::DisabledEvents
Enumerator
deMouseEvents 

Mouse events won't be fired.

The following events won't be fired: \c MouseDown, \c MouseUp, \c MouseEnter, \c MouseHover,
\c MouseLeave, \c MouseMove
See Also
_ITrackBarEvents::MouseDown, _ITrackBarEvents::MouseUp, _ITrackBarEvents::MouseEnter, _ITrackBarEvents::MouseHover, _ITrackBarEvents::MouseLeave, _ITrackBarEvents::MouseMove
deClickEvents 

Click events won't be fired.

The following events won't be fired: \c Click, \c DblClick, \c MClick, \c MDblClick,
\c RClick, \c RDblClick
See Also
_ITrackBarEvents::Click, _ITrackBarEvents::DblClick, _ITrackBarEvents::MClick, _ITrackBarEvents::MDblClick, _ITrackBarEvents::RClick, _ITrackBarEvents::RDblClick
deKeyboardEvents 

Keyboard events won't be fired.

The following events won't be fired: \c KeyDown, \c KeyUp, \c KeyPress
See Also
_ITrackBarEvents::KeyDown, _ITrackBarEvents::KeyUp, _ITrackBarEvents::KeyPress
deCustomDraw 

The CustomDraw event won't be fired.

The following event won't be fired: \c CustomDraw
See Also
_ITrackBarEvents::CustomDraw
deGetInfoTipText 

The GetInfoTipText event won't be fired.

The following event won't be fired: \c GetInfoTipText
See Also
_ITrackBarEvents::GetInfoTipText

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 with the MousePointer property

See Also
ITrackBar::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 OLE drag'n'drop

See Also
_ITrackBarEvents::OLEDragEnter, _ITrackBarEvents::OLEDragMouseMove, _ITrackBarEvents::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 property

See Also
ITrackBar::Orientation
Enumerator
oHorizontal 

The control is orientated horizontally.

oVertical 

The control is orientated vertically.

Constants used with the PositionChanging and PositionChanged events

See Also
ITrackBar::CurrentPosition, _ITrackBarEvents::PositionChanging, _ITrackBarEvents::PositionChanged
Enumerator
pctBeginTrack 

The user has started dragging the slider.

pctEndTrack 

The user has stopped dragging the slider.

pctTracking 

The user is dragging the slider.

pctJumpToPosition 

The slider's logical position was set to an absolute value.

pctLargeStepUp 

The slider's logical position was increased by a large step's width.

See Also
ITrackBar::LargeStepWidth
pctLargeStepDown 

The slider's logical position was decreased by a large step's width.

See Also
ITrackBar::LargeStepWidth
pctSmallStepUp 

The slider's logical position was increased by a small step's width.

See Also
ITrackBar::SmallStepWidth
pctSmallStepDown 

The slider's logical position was decreased by a small step's width.

See Also
ITrackBar::SmallStepWidth

Constants used with the SelectionType property

See Also
ITrackBar::SelectionType
Enumerator
stDiscreteValue 

The control allows selection of discrete values only.

stRangeSelection 

The control allows definining a range of values.

Constants used with the TickMarksPosition property

See Also
ITrackBar::TickMarksPosition
Enumerator
tmpNone 

The control does not display any tick marks.

tmpBottomOrRight 

The control displays tick marks below or to the right of the control (depending on its orientation)

tmpTopOrLeft 

The control displays tick marks above or to the left of the control (depending on its orientation)

tmpBoth 

The control displays tick marks on both sides of the control.

Constants used with the ToolTipPosition property

See Also
ITrackBar::ToolTipPosition
Enumerator
ttpNone 

The control does not display any tooltips.

ttpBottomOrRight 

The control displays tooltips below or to the right of the control (depending on its orientation)

ttpTopOrLeft 

The control displays tooltips above or to the left of the control (depending on its orientation)