MSFlexGridLib, COM interface constants for VB.Net / VBScript

MSFlexGridLib - interface constants

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

library parameters

File NameWINDOWS\system32\MSFLXGRD.OCX
Guid{5E9E78A0-531B-11CF-91F6-C2863C385E30}
Enums21

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.
  flexOLEDragManual = 0  '&H0

  'OLE drag/drop will be initialized when the user drags 'out' of the control, or under programmatic control.
  flexOLEDragAutomatic = 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.
  flexOLEDropNone = 0  '&H0

  'Accepts an OLE drag/drop under programmatic control only.
  flexOLEDropManual = 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.
  flexEnter = 0  '&H0

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

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

ClipBoardConstants

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

  'Text (.TXT file).
  flexCFText = 1  '&H1

  'Bitmap (.BMP file).
  flexCFBitmap = 2  '&H2

  'Metafile (.WMF file).
  flexCFMetafile = 3  '&H3

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

  'Color palette.
  flexCFPalette = 9  '&H9

  'Enhanced metafile (.EMF file).
  flexCFEMetafile = 14  '&HE

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

  'Rich Text Format (.RTF file).
  flexCFRTF = -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.
  flexOLEDropEffectNone = 0  '&H0

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

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

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

ErrorConstants

enum, 29 members.
  'Error constants
Public Enum ErrorConstants

  'Invalid procedure call
  flexerrIllegaFunctionCall = 5  '&H5

  'Invalid object use
  flexerrObjIllegalUse = 425  '&H1A9

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

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

  'Expected at least one argument
  flexerrExpectedAnArgument = 673  '&H2A1

  'Illegal recursive invocation of OLE drag and drop
  flexerrRecursiveOLEDrag = 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.
  flexerrUserFormatNotBinArray = 675  '&H2A3

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

  'An error has occurred while doing this operation
  flexerrUnknownError = 600  '&H258

  'Subscript out of range
  flexerrSubscript = 381  '&H17D

  'Invalid property value
  flexerrBadValue = 380  '&H17C

  'Property not available
  flexerrGetNotSupported = 394  '&H18A

  'Set not permitted
  flexerrSetNotPermitted = 387  '&H183

  'Out of memory
  flexerrOutOfMemory = 7  '&H7

  'Cannot do a RemoveItem on a fixed row
  flexerrVB30000 = 30000  '&H7530

  'Cannot use AddItem on a fixed row
  flexerrVB30001 = 30001  '&H7531

  'Grid does not contain that row
  flexerrVB30002 = 30002  '&H7532

  'Invalid Column number for alignment
  flexerrVB30004 = 30004  '&H7534

  'Invalid Alignment value
  flexerrVB30005 = 30005  '&H7535

  'Unable to Allocate Memory For FlexGrid
  flexerrVB30006 = 30006  '&H7536

  'Not a valid Picture type
  flexerrVB30008 = 30008  '&H7538

  'Invalid Row Value
  flexerrVB30009 = 30009  '&H7539

  'Invalid Column Value
  flexerrVB30010 = 30010  '&H753A

  'Unable to register the memory manager
  flexerrVB30011 = 30011  '&H753B

  'Invalid Row Height Value
  flexerrVB30013 = 30013  '&H753D

  'Invalid Column Width Value
  flexerrVB30014 = 30014  '&H753E

  'Can not remove last non-fixed row
  flexerrVB30015 = 30015  '&H753F

  'FixedRows must be at least one less than Rows value
  flexerrVB30016 = 30016  '&H7540

  'FixedCols must be at least one less than Cols value
  flexerrVB30017 = 30017  '&H7541
End Enum

AppearanceSettings

enum, 2 members.
  'Appearance Constants
Public Enum AppearanceSettings

  'Flat
  flexFlat = 0  '&H0

  '3D
  flex3D = 1  '&H1
End Enum

BorderStyleSettings

enum, 2 members.
  'BorderStyle Constants
Public Enum BorderStyleSettings

  'None
  flexBorderNone = 0  '&H0

  'Single
  flexBorderSingle = 1  '&H1
End Enum

FocusRectSettings

enum, 3 members.
  'FocusRect Constants
Public Enum FocusRectSettings

  'None
  flexFocusNone = 0  '&H0

  'Light
  flexFocusLight = 1  '&H1

  'Heavy
  flexFocusHeavy = 2  '&H2
End Enum

HighLightSettings

enum, 3 members.
  'Highlight Constants
Public Enum HighLightSettings

  'Never
  flexHighlightNever = 0  '&H0

  'Always
  flexHighlightAlways = 1  '&H1

  'With Focus
  flexHighlightWithFocus = 2  '&H2
End Enum

ScrollBarsSettings

enum, 4 members.
  'ScrollBars Constants
Public Enum ScrollBarsSettings

  'None
  flexScrollBarNone = 0  '&H0

  'Horizontal
  flexScrollBarHorizontal = 1  '&H1

  'Vertical
  flexScrollBarVertical = 2  '&H2

  'Both
  flexScrollBarBoth = 3  '&H3
End Enum

TextStyleSettings

enum, 5 members.
  'TextStyle Constants
Public Enum TextStyleSettings

  'Flat
  flexTextFlat = 0  '&H0

  'Raised
  flexTextRaised = 1  '&H1

  'Inset
  flexTextInset = 2  '&H2

  'Raised Light
  flexTextRaisedLight = 3  '&H3

  'Inset Light
  flexTextInsetLight = 4  '&H4
End Enum

FillStyleSettings

enum, 2 members.
  'FillStyle Constants
Public Enum FillStyleSettings

  'Single
  flexFillSingle = 0  '&H0

  'Repeat
  flexFillRepeat = 1  '&H1
End Enum

GridLineSettings

enum, 4 members.
  'GridLines Constants
Public Enum GridLineSettings

  'None
  flexGridNone = 0  '&H0

  'Flat
  flexGridFlat = 1  '&H1

  'Inset
  flexGridInset = 2  '&H2

  'Raised
  flexGridRaised = 3  '&H3
End Enum

SelectionModeSettings

enum, 3 members.
  'SelectionMode Constants
Public Enum SelectionModeSettings

  'Free
  flexSelectionFree = 0  '&H0

  'By Row
  flexSelectionByRow = 1  '&H1

  'By Column
  flexSelectionByColumn = 2  '&H2
End Enum

MergeCellsSettings

enum, 5 members.
  'MergeCells Constants
Public Enum MergeCellsSettings

  'Never
  flexMergeNever = 0  '&H0

  'Free
  flexMergeFree = 1  '&H1

  'Restrict Rows
  flexMergeRestrictRows = 2  '&H2

  'Restrict Columns
  flexMergeRestrictColumns = 3  '&H3

  'Restrict All
  flexMergeRestrictAll = 4  '&H4
End Enum

PictureTypeSettings

enum, 2 members.
  'PictureType Constants
Public Enum PictureTypeSettings

  'Display Compatible
  flexPictureColor = 0  '&H0

  'Monochrome Bitmap
  flexPictureMonochrome = 1  '&H1
End Enum

AllowUserResizeSettings

enum, 4 members.
  'AllowUserResizing Constants
Public Enum AllowUserResizeSettings

  'None
  flexResizeNone = 0  '&H0

  'Columns
  flexResizeColumns = 1  '&H1

  'Rows
  flexResizeRows = 2  '&H2

  'Both
  flexResizeBoth = 3  '&H3
End Enum

MousePointerSettings

enum, 17 members.
  'MousePointer Constants
Public Enum MousePointerSettings

  'Default
  flexDefault = 0  '&H0

  'Arrow
  flexArrow = 1  '&H1

  'Cross
  flexCross = 2  '&H2

  'I-Beam
  flexIBeam = 3  '&H3

  'Icon
  flexIcon = 4  '&H4

  'Size
  flexSize = 5  '&H5

  'Size NE SW
  flexSizeNESW = 6  '&H6

  'Size NS
  flexSizeNS = 7  '&H7

  'Size NW SE
  flexSizeNWSE = 8  '&H8

  'Size EW
  flexSizeEW = 9  '&H9

  'Up Arrow
  flexUpArrow = 10  '&HA

  'Hourglass
  flexHourglass = 11  '&HB

  'No Drop
  flexNoDrop = 12  '&HC

  'ArrowHourGlass
  flexArrowHourGlass = 13  '&HD

  'ArrowQuestion
  flexArrowQuestion = 14  '&HE

  'SizeAll
  flexSizeAll = 15  '&HF

  'Custom
  flexCustom = 99  '&H63
End Enum

SortSettings

enum, 9 members.
  'Sort Constants
Public Enum SortSettings

  'No Sort
  flexSortNone = 0  '&H0

  'Generic ascending sort
  flexSortGenericAscending = 1  '&H1

  'Generic descending sort
  flexSortGenericDescending = 2  '&H2

  'Numeric ascending sort
  flexSortNumericAscending = 3  '&H3

  'Numeric descending sort
  flexSortNumericDescending = 4  '&H4

  'String ascending sort, case-insensitive
  flexSortStringNoCaseAscending = 5  '&H5

  'String descending sort, case-insensitive
  flexSortStringNoCaseDescending = 6  '&H6

  'String ascending sort, case-sensitive
  flexSortStringAscending = 7  '&H7

  'String descending sort, case-sensitive
  flexSortStringDescending = 8  '&H8
End Enum

AlignmentSettings

enum, 10 members.
  'Alignment Constants
Public Enum AlignmentSettings

  'Align to left top corner of the cell
  flexAlignLeftTop = 0  '&H0

  'Align to left center of the cell
  flexAlignLeftCenter = 1  '&H1

  'Align to left bottom corner of the cell
  flexAlignLeftBottom = 2  '&H2

  'Align to center top of the cell
  flexAlignCenterTop = 3  '&H3

  'Align to center of the cell
  flexAlignCenterCenter = 4  '&H4

  'Align to center bottom of the cell
  flexAlignCenterBottom = 5  '&H5

  'Align to right top corner of the cell
  flexAlignRightTop = 6  '&H6

  'Align to right center of the cell
  flexAlignRightCenter = 7  '&H7

  'Align to right bottom corner of the cell
  flexAlignRightBottom = 8  '&H8

  'Align strings to left, numbers to right of the cell
  flexAlignGeneral = 9  '&H9
End Enum
online utility - toplist
WUtils.com