MSComctlLib, COM interface constants for VB.Net / VBScript

MSComctlLib - interface constants

     This page contains simple VBA include for the MSComctlLib COM library.

library parameters

File NameWINDOWS\system32\MSCOMCTL.OCX
Guid{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}
Enums42

BorderStyleConstants

enum, 2 members.
  'BorderStyle constants
Public Enum BorderStyleConstants

  'None
  ccNone = 0  '&H0

  'Fixed Single
  ccFixedSingle = 1  '&H1
End Enum

MousePointerConstants

enum, 17 members.
  'MousePointer constants
Public Enum MousePointerConstants

  'Default
  ccDefault = 0  '&H0

  'Arrow mouse pointer
  ccArrow = 1  '&H1

  'Cross mouse pointer
  ccCross = 2  '&H2

  'I-Beam mouse pointer
  ccIBeam = 3  '&H3

  'Icon mouse pointer
  ccIcon = 4  '&H4

  'Size mouse pointer
  ccSize = 5  '&H5

  'Size NE SW mouse pointer
  ccSizeNESW = 6  '&H6

  'Size N S mouse pointer
  ccSizeNS = 7  '&H7

  'Size NW SE mouse pointer
  ccSizeNWSE = 8  '&H8

  'Size W E mouse pointer
  ccSizeEW = 9  '&H9

  'Up arrow mouse pointer
  ccUpArrow = 10  '&HA

  'Hourglass mouse pointer
  ccHourglass = 11  '&HB

  'No drop mouse pointer
  ccNoDrop = 12  '&HC

  'Arrow and Hourglass mouse pointer
  ccArrowHourglass = 13  '&HD

  'Arrow and Question mark mouse pointer
  ccArrowQuestion = 14  '&HE

  'Size all mouse pointer
  ccSizeAll = 15  '&HF

  'Custom mouse pointer icon specified by the MouseIcon property
  ccCustom = 99  '&H63
End Enum

AppearanceConstants

enum, 2 members.
  'Appearance constants
Public Enum AppearanceConstants

  'Flat
  ccFlat = 0  '&H0

  '3D
  cc3D = 1  '&H1
End Enum

VB4AppearanceConstants

enum, 2 members.
Public Enum VB4AppearanceConstants

  'Flat
  vbFlat = 0  '&H0

  '3D
  vb3D = 1  '&H1
End Enum

ScrollingConstants

enum, 2 members.
  'Scrolling constants
Public Enum ScrollingConstants

  'Standard Scrolling
  ccScrollingStandard = 0  '&H0

  'Smooth Scrolling
  ccScrollingSmooth = 1  '&H1
End Enum

OrientationConstants

enum, 2 members.
  'Slider orientation constants
Public Enum OrientationConstants

  'Horizontal
  ccOrientationHorizontal = 0  '&H0

  'Vertical
  ccOrientationVertical = 1  '&H1
End Enum

OLEDragConstants

enum, 2 members.
  'Constants for the OLEDragMode property (but not the DragMode or OLEDropMode properties).
Public Enum OLEDragConstants

  'OLE drag/drop will be initialized only under programmatic control.
  ccOLEDragManual = 0  '&H0

  'OLE drag/drop will be initialized when the user drags 'out' of the control, or under programmatic control.
  ccOLEDragAutomatic = 1  '&H1
End Enum

OLEDropConstants

enum, 2 members.
  'Constants for the OLEDropMode property (but not the DragMode or OLEDragMode properties).
Public Enum OLEDropConstants

  'Accepts no OLE drag/drop operations.
  ccOLEDropNone = 0  '&H0

  'Accepts an OLE drag/drop under programmatic control only.
  ccOLEDropManual = 1  '&H1
End Enum

DragOverConstants

enum, 3 members.
  'State transition constants for the DragOver and OLEDragOver events.
Public Enum DragOverConstants

  'Source control dragged into target.
  ccEnter = 0  '&H0

  'Source control dragged out of target.
  ccLeave = 1  '&H1

  'Source control dragged from one position in target to another.
  ccOver = 2  '&H2
End Enum

ClipBoardConstants

enum, 8 members.
  'Clipboard format constants.
Public Enum ClipBoardConstants

  'Text (.txt file).
  ccCFText = 1  '&H1

  'Bitmap (.bmp file).
  ccCFBitmap = 2  '&H2

  'Metafile (.wmf file).
  ccCFMetafile = 3  '&H3

  'Device-independent bitmap.
  ccCFDIB = 8  '&H8

  'Color palette.
  ccCFPalette = 9  '&H9

  'Enhanced metafile (.emf file).
  ccCFEMetafile = 14  '&HE

  'Filename list (Microsoft Windows Explorer)
  ccCFFiles = 15  '&HF

  'Rich Text Format (.rtf file).
  ccCFRTF = -16639  '&HFFFFBF01
End Enum

OLEDropEffectConstants

enum, 4 members.
  'Drop effect constants for OLE drag and drop events.
Public Enum OLEDropEffectConstants

  'No OLE drag/drop operation has taken place/would take place.
  ccOLEDropEffectNone = 0  '&H0

  'A mask to indicate that a copy has taken place/would take place.
  ccOLEDropEffectCopy = 1  '&H1

  'A mask to indicate that a move has taken place/would take place.
  ccOLEDropEffectMove = 2  '&H2

  'A mask to indicate that the drop target window has scrolled/would scroll.
  ccOLEDropEffectScroll = -2147483648  '&H80000000
End Enum

ErrorConstants

enum, 35 members.
  'Error constants
Public Enum ErrorConstants

  'Invalid procedure call
  ccInvalidProcedureCall = 5  '&H5

  'Out of memory
  ccOutOfMemory = 7  '&H7

  'Type mismatch
  ccTypeMismatch = 13  '&HD

  'Object variable or With block variable not set
  ccObjectVariableNotSet = 91  '&H5B

  'Invalid property value
  ccInvalidPropertyValue = 380  '&H17C

  'Property cannot be set at runtime
  ccSetNotSupportedAtRuntime = 382  '&H17E

  'Property is read-only
  ccSetNotSupported = 383  '&H17F

  'Property can't be set on this control
  ccSetNotPermitted = 387  '&H183

  'Property is write-only
  ccGetNotSupported = 394  '&H18A

  'Invalid picture
  ccInvalidPicture = 481  '&H1E1

  'Invalid object use
  ccInvalidObjectUse = 425  '&H1A9

  'Specified format doesn't match format of data
  ccWrongClipboardFormat = 461  '&H1CD

  'DataObject formats list may not be cleared or expanded outside of the OLEStartDrag event
  ccDataObjectLocked = 672  '&H2A0

  'Expected at least one argument.
  ccExpectedAnArgument = 673  '&H2A1

  'Illegal recursive invocation of OLE drag and drop
  ccRecursiveOleDrag = 674  '&H2A2

  'Non-intrinsic OLE drag and drop formats used with SetData require Byte array data.  GetData may return more bytes than were given to SetData.
  ccFormatNotByteArray = 675  '&H2A3

  'Requested data was not supplied to the DataObject during the OLESetData event.
  ccDataNotSetForFormat = 676  '&H2A4

  'Index out of bounds
  ccIndexOutOfBounds = 35600  '&H8B10

  'Element not found
  ccElemNotFound = 35601  '&H8B11

  'Key is not unique in collection
  ccNonUniqueKey = 35602  '&H8B12

  'Invalid key
  ccInvalidKey = 35603  '&H8B13

  'This item's control has been deleted
  ccElemNotPartOfCollection = 35605  '&H8B15

  'Control's collection has been modified
  ccCollectionChangedDuringEnum = 35606  '&H8B16

  'This would introduce a cycle
  ccWouldIntroduceCycle = 35614  '&H8B1E

  'Required argument is missing
  ccMissingRequiredArg = 35607  '&H8B17

  'Invalid object
  ccBadObjectReference = 35610  '&H8B1A

  'Circular object referencing is not allowed
  ccCircularReference = 35700  '&H8B74

  'The first column in a ListView control must be left aligned
  ccCol1MustBeLeftAligned = 35604  '&H8B14

  'Property is read-only if image list contains images
  ccReadOnlyIfHasImages = 35611  '&H8B1B

  'ImageList must be initialized before it can be used
  ccImageListMustBeInitialized = 35613  '&H8B1D

  'All images in list must be same size
  ccNotSameSize = 35615  '&H8B1F

  'ImageList cannot be modified while another control is bound to it
  ccImageListLocked = 35617  '&H8B21

  'Maximum Panels Exceeded
  ccMaxPanelsExceeded = 35616  '&H8B20

  'Maximum Buttons Exceeded
  ccMaxButtonsExceeded = 35619  '&H8B23

  'Invalid procedure call in safe mode
  ccInvalidSafeModeProcCall = 680  '&H2A8
End Enum

TabWidthStyleConstants

enum, 3 members.
  'TabWidthStyle constants.
Public Enum TabWidthStyleConstants

  'Justified
  tabJustified = 0  '&H0

  'Non-Justified
  tabNonJustified = 1  '&H1

  'Fixed
  tabFixed = 2  '&H2
End Enum

TabStyleConstants

enum, 3 members.
  'TabStyle constants.
Public Enum TabStyleConstants

  'Tabs
  tabTabs = 0  '&H0

  'Buttons
  tabButtons = 1  '&H1

  'Flat Buttons
  tabFlatButtons = 2  '&H2
End Enum

PlacementConstants

enum, 4 members.
  'Placement constants.
Public Enum PlacementConstants

  'Top
  tabPlacementTop = 0  '&H0

  'Bottom
  tabPlacementBottom = 1  '&H1

  'Left
  tabPlacementLeft = 2  '&H2

  'Right
  tabPlacementRight = 3  '&H3
End Enum

TabSelStyleConstants

enum, 2 members.
  'Tab selection style constants.
Public Enum TabSelStyleConstants

  'Standard
  tabTabStandard = 0  '&H0

  'Opposite
  tabTabOpposite = 1  '&H1
End Enum

ButtonStyleConstants

enum, 6 members.
  'Toolbar Button Style constants.
Public Enum ButtonStyleConstants

  'Default
  tbrDefault = 0  '&H0

  'Check
  tbrCheck = 1  '&H1

  'ButtonGroup
  tbrButtonGroup = 2  '&H2

  'Separator
  tbrSeparator = 3  '&H3

  'Placeholder
  tbrPlaceholder = 4  '&H4

  'Dropdown
  tbrDropdown = 5  '&H5
End Enum

ValueConstants

enum, 2 members.
  'Toolbar Value constants.
Public Enum ValueConstants

  'Unpressed
  tbrUnpressed = 0  '&H0

  'Pressed
  tbrPressed = 1  '&H1
End Enum

ToolbarStyleConstants

enum, 2 members.
  'Toolbar Style constants.
Public Enum ToolbarStyleConstants

  'Standard
  tbrStandard = 0  '&H0

  'Transparent
  tbrFlat = 1  '&H1
End Enum

ToolbarTextAlignConstants

enum, 2 members.
  'Toolbar Text Alignment constants.
Public Enum ToolbarTextAlignConstants

  'Bottom
  tbrTextAlignBottom = 0  '&H0

  'Right
  tbrTextAlignRight = 1  '&H1
End Enum

SbarStyleConstants

enum, 2 members.
  'StatusBar Style constants
Public Enum SbarStyleConstants

  'Multiple panels
  sbrNormal = 0  '&H0

  'Single panel simple text
  sbrSimple = 1  '&H1
End Enum

PanelAlignmentConstants

enum, 3 members.
  'Panel Alignment constants
Public Enum PanelAlignmentConstants

  'Left
  sbrLeft = 0  '&H0

  'Center
  sbrCenter = 1  '&H1

  'Right
  sbrRight = 2  '&H2
End Enum

PanelAutoSizeConstants

enum, 3 members.
  'Panel AutoSize constants
Public Enum PanelAutoSizeConstants

  'None
  sbrNoAutoSize = 0  '&H0

  'Spring
  sbrSpring = 1  '&H1

  'Contents
  sbrContents = 2  '&H2
End Enum

PanelBevelConstants

enum, 3 members.
  'Panel Bevel constants
Public Enum PanelBevelConstants

  'None
  sbrNoBevel = 0  '&H0

  'Inset
  sbrInset = 1  '&H1

  'Raised
  sbrRaised = 2  '&H2
End Enum

PanelStyleConstants

enum, 8 members.
  'Panel Style constants
Public Enum PanelStyleConstants

  'Text
  sbrText = 0  '&H0

  'Caps
  sbrCaps = 1  '&H1

  'Num
  sbrNum = 2  '&H2

  'Ins
  sbrIns = 3  '&H3

  'Scrl
  sbrScrl = 4  '&H4

  'Time
  sbrTime = 5  '&H5

  'Date
  sbrDate = 6  '&H6

  'Kana
  sbrKana = 7  '&H7
End Enum

LabelEditConstants

enum, 2 members.
  'LabelEdit constants
Public Enum LabelEditConstants

  'Automatic
  tvwAutomatic = 0  '&H0

  'Manual
  tvwManual = 1  '&H1
End Enum

TreeLineStyleConstants

enum, 2 members.
  'TreeLine style constants
Public Enum TreeLineStyleConstants

  'TreeLines
  tvwTreeLines = 0  '&H0

  'RootLines
  tvwRootLines = 1  '&H1
End Enum

TreeStyleConstants

enum, 8 members.
  'TreeStyle constants
Public Enum TreeStyleConstants

  'Text Only
  tvwTextOnly = 0  '&H0

  'Picture and Text
  tvwPictureText = 1  '&H1

  'Plus/Minus and Text
  tvwPlusMinusText = 2  '&H2

  'Plus/Minus, Picture and Text
  tvwPlusPictureText = 3  '&H3

  'Treelines and Text
  tvwTreelinesText = 4  '&H4

  'Treelines, Picture and Text
  tvwTreelinesPictureText = 5  '&H5

  'Treelines, Plus/Minus and Text
  tvwTreelinesPlusMinusText = 6  '&H6

  'Treelines, Plus/Minus, Picture and Text
  tvwTreelinesPlusMinusPictureText = 7  '&H7
End Enum

TreeRelationshipConstants

enum, 5 members.
  'TreeView Relationship constants
Public Enum TreeRelationshipConstants

  'First sibling
  tvwFirst = 0  '&H0

  'Last sibling
  tvwLast = 1  '&H1

  'Next sibling
  tvwNext = 2  '&H2

  'Previous sibling
  tvwPrevious = 3  '&H3

  'Child
  tvwChild = 4  '&H4
End Enum

ListTextBackgroundConstants

enum, 2 members.
  'TextBackground constants
Public Enum ListTextBackgroundConstants

  'Draws ListItem text with transparent background
  lvwTransparent = 0  '&H0

  'Draws ListItem text with opaque background using Background color property
  lvwOpaque = 1  '&H1
End Enum

ListArrangeConstants

enum, 3 members.
  'ListArrange constants
Public Enum ListArrangeConstants

  'None
  lvwNone = 0  '&H0

  'Left
  lvwAutoLeft = 1  '&H1

  'Top
  lvwAutoTop = 2  '&H2
End Enum

ListPictureAlignmentConstants

enum, 6 members.
  'Determines the placement of the background picture.
Public Enum ListPictureAlignmentConstants

  'Aligns background picture to the upper left.
  lvwTopLeft = 0  '&H0

  'Aligns background picture to the upper right.
  lvwTopRight = 1  '&H1

  'Aligns background picture to the lower left.
  lvwBottomLeft = 2  '&H2

  'Aligns background picture to the lower right.
  lvwBottomRight = 3  '&H3

  'Aligns background picture to the center.
  lvwCenter = 4  '&H4

  'Tiles the picture to fill the ListView background.
  lvwTile = 5  '&H5
End Enum

ListLabelEditConstants

enum, 2 members.
  'LabelEdit constants
Public Enum ListLabelEditConstants

  'Automatic
  lvwAutomatic = 0  '&H0

  'Manual
  lvwManual = 1  '&H1
End Enum

ListSortOrderConstants

enum, 2 members.
  'SortOrder constants
Public Enum ListSortOrderConstants

  'Ascending
  lvwAscending = 0  '&H0

  'Descending
  lvwDescending = 1  '&H1
End Enum

ListViewConstants

enum, 4 members.
  'View constants
Public Enum ListViewConstants

  'Icon
  lvwIcon = 0  '&H0

  'SmallIcon
  lvwSmallIcon = 1  '&H1

  'List
  lvwList = 2  '&H2

  'Report
  lvwReport = 3  '&H3
End Enum

ListColumnAlignmentConstants

enum, 3 members.
  'ColumnAlignment constants
Public Enum ListColumnAlignmentConstants

  'Left
  lvwColumnLeft = 0  '&H0

  'Right
  lvwColumnRight = 1  '&H1

  'Center
  lvwColumnCenter = 2  '&H2
End Enum

ListFindItemWhereConstants

enum, 3 members.
  'FindItemWhere constants
Public Enum ListFindItemWhereConstants

  'Text
  lvwText = 0  '&H0

  'SubItem
  lvwSubItem = 1  '&H1

  'Tag
  lvwTag = 2  '&H2
End Enum

ListFindItemHowConstants

enum, 2 members.
  'FindItemHow constants
Public Enum ListFindItemHowConstants

  'Whole
  lvwWhole = 0  '&H0

  'Partial
  lvwPartial = 1  '&H1
End Enum

ImageDrawConstants

enum, 4 members.
  'ImageList Draw constants
Public Enum ImageDrawConstants

  'Normal
  imlNormal = 0  '&H0

  'Transparent
  imlTransparent = 1  '&H1

  'Selected
  imlSelected = 2  '&H2

  'Focus
  imlFocus = 3  '&H3
End Enum

TickStyleConstants

enum, 4 members.
  'TickStyle constants
Public Enum TickStyleConstants

  'Bottom/Right
  sldBottomRight = 0  '&H0

  'Top/Left
  sldTopLeft = 1  '&H1

  'Both
  sldBoth = 2  '&H2

  'No Ticks
  sldNoTicks = 3  '&H3
End Enum

TextPositionConstants

enum, 2 members.
  'TextPosition constants
Public Enum TextPositionConstants

  'Above/Left
  sldAboveLeft = 0  '&H0

  'Below/Right
  sldBelowRight = 1  '&H1
End Enum

ImageComboStyleConstants

enum, 3 members.
  'Constants for the Style property of a ComboBox control.
Public Enum ImageComboStyleConstants

  'ComboBox control style that allows typing in a text box or selection from a drop-down list.
  ImgCboDropdownCombo = 0  '&H0

  'ComboBox control style that allows typing in a text box or selection from a list, which doesn't drop down.
  ImgCboSimpleCombo = 1  '&H1

  'Only allows selection from the drop-down list in a ComboBox control.
  ImgCboDropdownList = 2  '&H2
End Enum
WUtils.com