Includes&Samples |
MSMask, COM interface constants for VB.Net / VBScriptMSMask - interface constants This page contains simple VBA include for the MSMask COM library.
library parameters
OLEDragConstantsenum, 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. mskOLEDragManual = 0 '&H0 'OLE drag/drop will be initialized when the user drags 'out' of the control, or under programmatic control. mskOLEDragAutomatic = 1 '&H1 End Enum OLEDropConstantsenum, 3 members.'Constants for the OLEDropMode property (but not the DragMode or OLEDragMode properties). Public Enum OLEDropConstants 'Accepts no OLE drag/drop operations. mskOLEDropNone = 0 '&H0 'Accepts an OLE drag/drop under programmatic control only. mskOLEDropManual = 1 '&H1 'Accepts an OLE drag/drop without programmatic control. mskOLEDropAutomatic = 2 '&H2 End Enum DragOverConstantsenum, 3 members.'State transition constants for the DragOver and OLEDragOver events. Public Enum DragOverConstants 'Source control dragged into target. mskEnter = 0 '&H0 'Source control dragged out of target. mskLeave = 1 '&H1 'Source control dragged from one position in target to another. mskOver = 2 '&H2 End Enum ClipBoardConstantsenum, 8 members.'Clipboard format constants. Public Enum ClipBoardConstants 'Text (.txt file). mskCFText = 1 '&H1 'Bitmap (.bmp file). mskCFBitmap = 2 '&H2 'Metafile (.wmf file). mskCFMetafile = 3 '&H3 'Device-independent bitmap. mskCFDIB = 8 '&H8 'Color palette. mskCFPalette = 9 '&H9 'Enhanced metafile (.emf file). mskCFEMetafile = 14 '&HE 'Filename list (Microsoft Windows Explorer) mskCFFiles = 15 '&HF 'Rich Text Format (.rtf file). mskCFRTF = -16639 '&HFFFFBF01 End Enum OLEDropEffectConstantsenum, 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. mskOLEDropEffectNone = 0 '&H0 'A mask to indicate that a copy has taken place/would take place. mskOLEDropEffectCopy = 1 '&H1 'A mask to indicate that a move has taken place/would take place. mskOLEDropEffectMove = 2 '&H2 'A mask to indicate that the drop target window has scrolled/would scroll. mskOLEDropEffectScroll = -2147483648 '&H80000000 End Enum ErrorConstantsenum, 11 members.'Error constants. Public Enum ErrorConstants 'Invalid property value mskInvalidPropertyValue = 380 '&H17C 'Property is write-only mskGetNotSupported = 394 '&H18A 'Property is read-only mskSetNotSupported = 383 '&H17F 'Invalid procedure call mskInvalidProcedureCall = 5 '&H5 'Invalid object use mskInvalidObjectUse = 425 '&H1A9 'Specified format doesn't match format of data mskWrongClipboardFormat = 461 '&H1CD 'DataObject formats list may not be cleared or expanded outside of the OLEStartDrag event mskDataObjectLocked = 672 '&H2A0 'Expected at least one argument. mskExpectedAnArgument = 673 '&H2A1 'Illegal recursive invocation of OLE drag and drop mskRecursiveOleDrag = 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. mskFormatNotByteArray = 675 '&H2A3 'Requested data was not supplied to the DataObject during the OLESetData event. mskDataNotSetForFormat = 676 '&H2A4 End Enum BorderStyleConstantsenum, 2 members.'BorderStyle constants. Public Enum BorderStyleConstants 'No border mskNone = 0 '&H0 'Fixed single mskFixedSingle = 1 '&H1 End Enum AppearanceConstantsenum, 2 members.'Appearance constants. Public Enum AppearanceConstants 'Flat mskFlat = 0 '&H0 '3D mskThreeD = 1 '&H1 End Enum ClipModeConstantsenum, 2 members.'ClipMode constants. Public Enum ClipModeConstants 'Exclude literals on cut or copy. mskIncludeLiterals = 0 '&H0 'Include literals on cut or copy. mskExcludeLiterals = 1 '&H1 End Enum MousePointerConstantsenum, 17 members.'MousePointer constants. Public Enum MousePointerConstants 'Default mskDefault = 0 '&H0 'Arrow mouse pointer. mskArrow = 1 '&H1 'Cross mouse pointer. mskCross = 2 '&H2 'I-Beam mouse pointer. mskIBeam = 3 '&H3 'Icon mouse pointer. mskIcon = 4 '&H4 'Size mouse pointer. mskSize = 5 '&H5 'Size NE SW mouse pointer. mskSizeNESW = 6 '&H6 'Size N S mouse pointer. mskSizeNS = 7 '&H7 'Size NW SE mouse pointer. mskSizeNWSE = 8 '&H8 'Size W E mouse pointer. mskSizeEW = 9 '&H9 'Up arrow mouse pointer. mskUpArrow = 10 '&HA 'Hourglass mouse pointer. mskHourglass = 11 '&HB 'No drop mouse pointer. mskNoDrop = 12 '&HC 'Arrow and Hourglass mouse pointer mskArrowHourglass = 13 '&HD 'Arrow and Question mark mouse pointer mskArrowQuestion = 14 '&HE 'Size all mouse pointer mskSizeAll = 15 '&HF 'Custom mouse pointer icon specified by the MouseIcon property mskCustom = 99 '&H63 End Enum FormatConstantsenum, 12 members.'MSMask Format Constants Public Enum FormatConstants '$#,##0.00;($#,##0.00) mskDefaultFormat = 0 '&H0 '0 mskZero = 1 '&H1 '#,##0 mskFloatInteger = 2 '&H2 '0% mskPercent = 3 '&H3 '0.00E+00 mskExponential = 4 '&H4 'c mskc = 5 '&H5 'dddddd mskdddddd = 6 '&H6 'dd-mmm-yy mskddmmyy = 7 '&H7 'ddddd mskddddd = 8 '&H8 'ttttt mskttttt = 9 '&H9 'hh:mm AM/PM mskhhmmAMPM = 10 '&HA 'hh:mm mskhhmm = 11 '&HB End Enum |