Masked Edit Control Constants

Appearance Constants

Constant Value Description
mskFlat 0 Flat. Paints controls and forms without visual effects.
mskThreeD 1 (Default) 3D. Paints controls with three-dimensional effects.

BorderStyle Constants

Constant Value Description
vbBSNone 0 No border
vbFixedSingle 1 Fixed single

ClipBoard Constants

Constant Value Description
mskCFRTF &HFFFFBF01 Rich Text Format (.rtf file)
mskCFText 1 Text (.txt file)
mskCFBitmap 2 Bitmap (.bmp file)
mskCFMetafile 3 Metafile (.wmf file)
mskCFDIB 8 Device-independent bitmap
mskCFPalette 9 Color palette
mskCFEMetafile 14 Extended Metafile (.emf file)
mskCFFiles 15 Filename list

ClipMode Constants

Constant Value Description
mskIncludeLiterals 0 Include literals on cut or copy.
mskExcludeLiterals 1 Exclude literals on cut or copy.

DragOver Constants

Constant Value Description
mskEnter 0 Source control dragged into target.
mskLeave 1 Source control dragged out of target.
mskOver 2 Source control dragged from one position in target to another.

Error Constants

Constant Value Description
mskDataObjectLocked 672 DataObject formats list may not be cleared or expanded outside of the OLEStartDrag event.
mskExpectedAnArgument 673 Expected at least one argument.
mskFormatNotByteArray 675 Non-intrinsic OLE drag and drop formats used with SetData require Byte array data. GetData may return more bytes than were given to SetData.
mskGetNotSupported 394 Property is write-only.
mskInvalidObjectUse 425 Invalid object use.
mskInvalidProcedureCall 5 Invalid procedure call.
mskInvalidPropertyValue 380 Invalid property value.
mskRecursiveOleDrag 674 Illegal recursive invocation of OLE drag and drop.
mskSetNotSupported 383 Property is read-only.
mskWrongClipboardFormat 461 Specified format doesn't match format of data.

MousePointer Constants

Constant Value Description
mskDefault 0 Default
mskArrow 1 Arrow
mskCross 2 Crosshair
mskIbeam 3 I beam
mskIcon 4 Icon
mskSize 5 Size
mskSizeNESW 6 Size NE, SW mouse pointer
mskSizeNS 7 Size N, S mouse pointer
mskSizeNWSE 8 Size NW, SE mouse pointer
mskSizeEW 9 Size W, E mouse pointer
mskUpArrow 10 Up arrow
mskHourglass 11 Hourglass
mskNoDrop 12 No drop
mskArrowHourglass 13 Arrow and hourglass
mskArrowQuestion 14 Arrow and question mark
mskSizeAll 15 Size all
mskCustom 99 Custom icon specified by the MouseIcon property

OLEDrag Constants

Constant Value Description
mskOLEDragManual 0 OLE drag/drop is initialized only under programmatic control.
mskOLEDragAutomatic 1 OLE drag/drop is initialized when the user drags 'out' of the control, or under programmatic control.

OLEDrop Constants

Constant Value Description
mskOLEDropNone 0 Accepts no OLE drag/drop operations.
mskOLEDropManual 1 Accepts an OLE drag/drop under programmatic control only.
mskOLEDropAutomatic 2 Accepts an OLE drag/drop without programmatic control.

OLEDropEffect Constants

Constant Value Description
mskOLEDropEffectNone 0 No OLE drag/drop operation has taken place/would take place.
mskOLEDropEffectCopy 1 A mask to indicate that a copy has taken place/would take place.
mskOLEDropEffectMove 2 A mask to indicate that a move has take place/would take place.
mskOLEDropEffectScroll &H80000000 A mask to indicate that the drop target window has scrolled/would scroll.