Includes&Samples |
MSHierarchicalFlexGridLib, COM interface constants for VB.Net / VBScriptMSHierarchicalFlexGridLib - interface constants This page contains simple VBA include for the MSHierarchicalFlexGridLib COM library.
library parameters
OLEDragConstantsenum, 2 members.'Constants for the OLEDragMode property (but not the DragMode or OLEDropMode properties). Public Enum OLEDragConstants 'OLE drag and drop are initialized only under programmatic control. flexOLEDragManual = 0 '&H0 'OLE drag and drop is initialized when the user drags 'out' of the control or under programmatic control. flexOLEDragAutomatic = 1 '&H1 End Enum OLEDropConstantsenum, 2 members.'Constants for the OLEDropMode property (but not the DragMode or OLEDragMode properties). Public Enum OLEDropConstants 'Accepts no OLE drag and drop operations. flexOLEDropNone = 0 '&H0 'Accepts an OLE drag and drop under programmatic control only. flexOLEDropManual = 1 '&H1 End Enum DragOverConstantsenum, 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 ClipBoardConstantsenum, 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 OLEDropEffectConstantsenum, 4 members.'Drop effect constants for OLE drag and drop events. Public Enum OLEDropEffectConstants 'No OLE drag and drop operation has occurred or will occur. flexOLEDropEffectNone = 0 '&H0 'A mask to indicate that a copy has occurred or will occur. flexOLEDropEffectCopy = 1 '&H1 'A mask to indicate that a move has occurred or will occur. flexOLEDropEffectMove = 2 '&H2 'A mask to indicate that the drop target window has scrolled or will scroll. flexOLEDropEffectScroll = -2147483648 '&H80000000 End Enum ErrorConstantsenum, 35 members.'Error constants Public Enum ErrorConstants 'Invalid procedure call. flexerrIllegaFunctionCall = 5 '&H5 'Invalid object use. flexerrObjIllegalUse = 425 '&H1A9 'Specified format doesn't match data format. flexerrClipInvalidFormat = 461 '&H1CD 'DataObject format 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 'Setting 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 Hierarchical 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 'Cannot 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 'Cannot set format without fixed Rows or Cols flexerrFORMATSTRING = 30018 '&H7542 'Invalid band number. flexerrBadBandNumber = 30019 '&H7543 'Invalid band column index. flexerrBadBandColIndex = 30020 '&H7544 'Command not available when bound to hierarchical data. flexerrNotAvailableWithBandedData = 30021 '&H7545 'The Hierarchical FlexGrid does not support the requested type of data binding. flexerrUnknownBinding = 30022 '&H7546 'Unable to access data. DataSource settings may be incorrect or the DataSource functionality may be limited. See Help for more information. flexerrHROWsNotReleased = 30023 '&H7547 End Enum AppearanceSettingsenum, 2 members.'Appearance Constants Public Enum AppearanceSettings 'Flat flexFlat = 0 '&H0 '3D flex3D = 1 '&H1 End Enum BorderStyleSettingsenum, 2 members.'BorderStyle Constants Public Enum BorderStyleSettings 'None flexBorderNone = 0 '&H0 'Single flexBorderSingle = 1 '&H1 End Enum FocusRectSettingsenum, 3 members.'FocusRect Constants Public Enum FocusRectSettings 'None flexFocusNone = 0 '&H0 'Light flexFocusLight = 1 '&H1 'Heavy flexFocusHeavy = 2 '&H2 End Enum HighLightSettingsenum, 3 members.'Highlight Constants Public Enum HighLightSettings 'Never flexHighlightNever = 0 '&H0 'Always flexHighlightAlways = 1 '&H1 'With Focus flexHighlightWithFocus = 2 '&H2 End Enum ScrollBarsSettingsenum, 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 TextStyleSettingsenum, 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 FillStyleSettingsenum, 2 members.'FillStyle Constants Public Enum FillStyleSettings 'Single flexFillSingle = 0 '&H0 'Repeat flexFillRepeat = 1 '&H1 End Enum GridLineSettingsenum, 6 members.'GridLines Constants Public Enum GridLineSettings 'None flexGridNone = 0 '&H0 'Flat flexGridFlat = 1 '&H1 'Inset flexGridInset = 2 '&H2 'Raised flexGridRaised = 3 '&H3 'Dashes flexGridDashes = 4 '&H4 'Dots flexGridDots = 5 '&H5 End Enum SelectionModeSettingsenum, 3 members.'SelectionMode Constants Public Enum SelectionModeSettings 'Free flexSelectionFree = 0 '&H0 'By Row flexSelectionByRow = 1 '&H1 'By Column flexSelectionByColumn = 2 '&H2 End Enum MergeCellsSettingsenum, 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 PictureTypeSettingsenum, 2 members.'PictureType Constants Public Enum PictureTypeSettings 'Display Compatible flexPictureColor = 0 '&H0 'Monochrome Bitmap flexPictureMonochrome = 1 '&H1 End Enum AllowUserResizeSettingsenum, 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 MousePointerSettingsenum, 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 SortSettingsenum, 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 AlignmentSettingsenum, 10 members.'Alignment Constants. Public Enum AlignmentSettings 'Align to left top corner of cell. flexAlignLeftTop = 0 '&H0 'Align to left center of cell. flexAlignLeftCenter = 1 '&H1 'Align to left bottom corner of cell. flexAlignLeftBottom = 2 '&H2 'Align to center top of cell. flexAlignCenterTop = 3 '&H3 'Align to center of cell. flexAlignCenterCenter = 4 '&H4 'Align to center bottom of cell. flexAlignCenterBottom = 5 '&H5 'Align to right top corner of cell. flexAlignRightTop = 6 '&H6 'Align to right center of cell. flexAlignRightCenter = 7 '&H7 'Align to right bottom corner of cell. flexAlignRightBottom = 8 '&H8 'Align strings to left, numbers to right of cell. flexAlignGeneral = 9 '&H9 End Enum WordWrapSettingsenum, 4 members.'ColWordWrapOption Constants Public Enum WordWrapSettings 'Displays text on a single line only. flexSingleLine = 0 '&H0 'Breaks words. The lines are automatically broken between words. flexWordBreak = 1 '&H1 'Truncates text that does not fit in the rectangle and adds ellipsis. flexWordEllipsis = 2 '&H2 'Breaks words between lines and adds ellipsis if text doesn't fit in the rectangle. flexWordBreakEllipsis = 3 '&H3 End Enum BandDisplaySettingsenum, 2 members.'Band Display Constants Public Enum BandDisplaySettings 'Horizontal flexBandDisplayHorizontal = 0 '&H0 'Vertical flexBandDisplayVertical = 1 '&H1 End Enum CellTypeSettingsenum, 5 members.'Cell Type Constants Public Enum CellTypeSettings 'Standard flexCellTypeStandard = 0 '&H0 'Fixed flexCellTypeFixed = 1 '&H1 'Header flexCellTypeHeader = 2 '&H2 'Indent flexCellTypeIndent = 3 '&H3 'Unpopulated. flexCellTypeUnpopulated = 4 '&H4 End Enum RowSizingSettingsenum, 2 members.'Row Sizing Constants Public Enum RowSizingSettings 'Individual flexRowSizeIndividual = 0 '&H0 'All flexRowSizeAll = 1 '&H1 End Enum ColHeaderSettingsenum, 2 members.'ColHeader Constants Public Enum ColHeaderSettings 'No Column Headers. flexColHeaderOff = 0 '&H0 'Column Headers for each row. flexColHeaderOn = 1 '&H1 End Enum |