# Common members
{: .no_toc }

The properties, methods and events that the controls of the [VBCCR18](/tB/Packages/Contributed/VBCCR18/index.md) package share, and the enumerations that several controls use.

Each member here has the same declaration and does the same on every control that has it. A control's own page says which of these groups the control has, and documents a member only where the control does something of its own with it.

* TOC
{:toc}

## Which control has which

Two controls show nothing at run time, **ImageList** and **SysInfo**: of the members on this page they have [**Name**](#name), [**Parent**](#parent) and [**Tag**](#tag) alone. Every other control has every member under [Name and place](#name-and-place), [Mouse](#mouse), [Dragging the control](#dragging-the-control) and [OLE drag and drop](#ole-drag-and-drop), with these exceptions:

| Members | Controls without them |
|---|---|
| [**hWnd**](#hwnd) | **LabelW**, which has no window |
| [**hWndUserControl**](#hwndusercontrol) | **FrameW**, **IPAddress**, **LabelW**, **WindowedLabel** |
| [**Font**](#font), [**FontQuality**](#fontquality) | **Animation**, **MCIWnd**, **Pager**, **Slider**, **UpDown** |
| [**VisualStyles**](#visualstyles) | **Animation**, **LabelW**, **Pager**, **WindowedLabel** |
| [**Click**](#click) | **SpinBox**, **TabStrip**, **UpDown** |
| [**DblClick**](#dblclick) | **CheckBoxW**, **CommandButtonW**, **CommandLink**, **DTPicker**, **LinkLabel**, **MonthView**, **Pager**, **Slider**, **SpinBox**, **TabStrip**, **UpDown** |
| [Keyboard and focus](#keyboard-and-focus), [**HelpContextID**](#helpcontextid) | the controls that never take the focus: **CoolBar**, **FrameW**, **LabelW**, **Pager**, **ProgressBar**, **StatusBar**, **ToolBar**, **UpDown**, **WindowedLabel** |
| [**RightToLeft**](#righttoleft), [**RightToLeftMode**](#righttoleftmode) | **MCIWnd** |

[**RightToLeftLayout**](#righttoleftlayout) is on the controls that Windows can mirror: **Animation**, **CoolBar**, **DTPicker**, **ImageCombo**, **ListView**, **MonthView**, **Pager**, **ProgressBar**, **Slider**, **StatusBar**, **TabStrip**, **ToolBar**, **TreeView** and **UpDown**.

## Name and place

A control gets these from the form it is on, as every control on a form does. They do what the members of the same names do on a control of the [VB package](/tB/Packages/VB/index.md).

### Container
{: .no_toc }

The object that holds the control: the form, or a frame or picture box on it. **Object**. Assigned with **Set**, it moves the control into another container.

### Enabled
{: .no_toc }

Whether the control responds to the mouse and the keyboard. **Boolean**. Default: **True**.

### Height, Left, Top, Width
{: .no_toc }

The control's size and its position in its container, in the container's scale units. **Single**.

A control on a form also has the **Move** method and the **TabIndex** and **TabStop** properties, which the form gives it. The control's class does not declare them, so a variable declared as the control's class, such as `Dim Bar As VBCCR18.ProgressBar`, does not have them; a variable declared **As Object** or **As Control** does.

### HelpContextID
{: .no_toc }

The topic of the program's help file that belongs to the control. **Long**.

### Name
{: .no_toc }

The name the control has on its form, such as `ProgressBar1`. **String**, read-only.

### Parent
{: .no_toc }

The form the control is on. **Object**, read-only.

### Refresh
{: .no_toc }

Draws the control again, at once.

Syntax: *object*.**Refresh**

### Tag
{: .no_toc }

A string of the program's own, which the control does not use. **String**.

### ToolTipText
{: .no_toc }

The text shown in a small window when the mouse rests on the control. **String**.

### Visible
{: .no_toc }

Whether the control is shown. **Boolean**.

### WhatsThisHelpID
{: .no_toc }

The topic of the program's help file that the What's This pointer opens for the control. **Long**.

### ZOrder
{: .no_toc }

Puts the control in front of the other controls of its container, or behind them.

Syntax: *object*.**ZOrder** [ *Position* ]

*Position*
: *optional* A member of [**ZOrderConstants**](/tB/Packages/VBRUN/Constants/ZOrderConstants.md): **vbBringToFront** (the default) or **vbSendToBack**.

## Window handles

Each control is two windows: a window of Windows' own control, such as a progress bar, inside a window of twinBASIC that takes the control's place on the form.

### hWnd
{: .no_toc }

The handle of the window of Windows' own control, the one to pass to an API function that takes a progress bar, a list view and so on. **LongPtr**, read-only.

### hWndUserControl
{: .no_toc }

The handle of the window that holds the control, a child of the control's container. **LongPtr**, read-only.

The window of [**hWnd**](#hwnd) is a child of the window of **hWndUserControl**.

## Font and visual styles

### Font
{: .no_toc }

The font of the control's text. A **StdFont** object. A new control has the font of its container.

Assigning **Nothing** gives the control the font of its container again.

### FontQuality
{: .no_toc }

How Windows smooths the edges of the font's characters. A member of [**CCFontQualityConstants**](#ccfontqualityconstants). Default: **CCFontQualityDefault**.

Any other value raises run-time error 380, *Invalid property value*.

### VisualStyles
{: .no_toc }

Whether the control is drawn in the visual style of Windows, when the program has visual styles. **Boolean**. Default: **True**. With **False** the control is drawn in the classic style, which is the only one in which some controls show a color the program sets.

## Mouse

### MouseIcon
{: .no_toc }

The pointer shown over the control when [**MousePointer**](#mousepointer) is **CCMousePointerCustom**. A picture that holds an icon or a cursor. A picture of another kind raises run-time error 380.

### MousePointer
{: .no_toc }

The pointer shown while the mouse is over the control. A member of [**CCMousePointerConstants**](#ccmousepointerconstants). Default: **CCMousePointerDefault**, the pointer Windows' own control shows.

A value that is not a member raises run-time error 380.

### MouseTrack
{: .no_toc }

Whether the control raises [**MouseEnter**](#mouseenter-mouseleave) and [**MouseLeave**](#mouseenter-mouseleave). **Boolean**. Default: **False**.

### Click
{: .no_toc }

Raised when the user presses and releases a mouse button over the control.

Syntax: *object*\_**Click**( )

### DblClick
{: .no_toc }

Raised when the user double-clicks the control.

Syntax: *object*\_**DblClick**( )

### MouseDown, MouseMove, MouseUp
{: .no_toc }

Raised when the user presses a mouse button over the control, moves the mouse over it, and releases the button.

Syntax: *object*\_**MouseDown**( *Button* **As Integer**, *Shift* **As Integer**, *X* **As Single**, *Y* **As Single** )

*Button*
: The button, a member of [**MouseButtonConstants**](/tB/Packages/VBRUN/Constants/MouseButtonConstants.md). In **MouseMove** it is the sum of the buttons held down.

*Shift*
: The sum of the [**ShiftConstants**](/tB/Packages/VBRUN/Constants/ShiftConstants.md) members for the Shift, Ctrl and Alt keys held down.

*X*, *Y*
: The position of the pointer, measured from the control's top left corner, in twips whatever the scale of the control's container.

### MouseEnter, MouseLeave
{: .no_toc }

Raised when the pointer moves onto the control and when it leaves, while [**MouseTrack**](#mousetrack) is **True**.

Syntax: *object*\_**MouseEnter**( )

## Keyboard and focus

The controls that take the focus have these.

### SetFocus
{: .no_toc }

Gives the control the focus.

Syntax: *object*.**SetFocus**

### KeyDown, KeyUp
{: .no_toc }

Raised when the user presses and releases a key while the control has the focus.

Syntax: *object*\_**KeyDown**( *KeyCode* **As Integer**, *Shift* **As Integer** )

*KeyCode*
: The key, a member of [**KeyCodeConstants**](/tB/Packages/VBRUN/Constants/KeyCodeConstants.md). A handler that changes it gives the control another key, and one that sets it to 0 keeps the key from the control.

*Shift*
: The sum of the [**ShiftConstants**](/tB/Packages/VBRUN/Constants/ShiftConstants.md) members for the Shift, Ctrl and Alt keys held down.

### KeyPress
{: .no_toc }

Raised when a key the user presses gives a character.

Syntax: *object*\_**KeyPress**( *KeyChar* **As Integer** )

*KeyChar*
: The character's code, as [**AscW**](/tB/Modules/Strings/Asc.md) returns it. A handler that changes it gives the control another character, and one that sets it to 0 keeps the character from the control.

### PreviewKeyDown, PreviewKeyUp
{: .no_toc }

Raised before [**KeyDown**](#keydown-keyup) and **KeyUp**, for a key the form would otherwise take for itself.

Syntax: *object*\_**PreviewKeyDown**( **ByVal** *KeyCode* **As Integer**, *IsInputKey* **As Boolean** )

*KeyCode*
: The key, a member of [**KeyCodeConstants**](/tB/Packages/VBRUN/Constants/KeyCodeConstants.md).

*IsInputKey*
: **False** when the event is raised. A handler that sets it to **True** gives the Tab, Enter or Esc key to the control: the form then does not move the focus, press its default button or press its cancel button.

## Dragging the control

These are the drag and drop of VB6, in which the user drags a control as a whole and the control under the pointer gets the **DragDrop** and **DragOver** events from the form.

### Drag
{: .no_toc }

Starts, ends or cancels a drag of the control.

Syntax: *object*.**Drag** [ *Action* ]

*Action*
: *optional* A member of [**DragConstants**](/tB/Packages/VBRUN/Constants/DragConstants.md). The default is **vbBeginDrag**.

### DragIcon
{: .no_toc }

The pointer shown while the control is dragged. A picture that holds an icon.

### DragMode
{: .no_toc }

Whether the user starts a drag by pressing the mouse button on the control, or the program starts it with [**Drag**](#drag). A member of [**DragModeConstants**](/tB/Packages/VBRUN/Constants/DragModeConstants.md). Default: **vbManual**.

## OLE drag and drop

Data dragged between the control and another control or program.

### OLEDropMode
{: .no_toc }

Whether the control takes data that is dropped on it. A member of [**OLEDropModeConstants**](#oledropmodeconstants). Default: **OLEDropModeNone**. With **OLEDropModeManual** the control raises [**OLEDragOver**](#oledragover) and [**OLEDragDrop**](#oledragdrop), and the program takes the data in them.

The enumeration has no member for an automatic drop: the value 2, **vbOLEDropAutomatic**, raises run-time error 380. **TextBoxW** is the exception, on its own page.

### OLEDrag
{: .no_toc }

Starts a drag with the control as its source. The control raises [**OLEStartDrag**](#olestartdrag) at once.

Syntax: *object*.**OLEDrag**

### OLEStartDrag
{: .no_toc }

Raised when a drag starts at the control. The handler puts the data, or the formats it offers, into *Data*.

Syntax: *object*\_**OLEStartDrag**( *Data* **As DataObject**, *AllowedEffects* **As Long** )

*Data*
: The [**DataObject**](/tB/Packages/VBRUN/DataObject/index.md) that holds what is dragged.

*AllowedEffects*
: Set by the handler: the sum of the [**OLEDropEffectConstants**](/tB/Packages/VBRUN/Constants/OLEDropEffectConstants.md) members for what a target may do with the data.

### OLESetData
{: .no_toc }

Raised at the source when the target asks for data in a format that [**OLEStartDrag**](#olestartdrag) offered without its data.

Syntax: *object*\_**OLESetData**( *Data* **As DataObject**, *DataFormat* **As Integer** )

### OLEGiveFeedback
{: .no_toc }

Raised at the source each time the target answers, so that the handler can change the pointer.

Syntax: *object*\_**OLEGiveFeedback**( *Effect* **As Long**, *DefaultCursors* **As Boolean** )

*Effect*
: What the target would do with the data, a member of [**OLEDropEffectConstants**](/tB/Packages/VBRUN/Constants/OLEDropEffectConstants.md).

*DefaultCursors*
: **True** when the event is raised. A handler that sets the pointer itself sets it to **False**.

### OLEDragOver
{: .no_toc }

Raised at the target while data is dragged over it.

Syntax: *object*\_**OLEDragOver**( *Data* **As DataObject**, *Effect* **As Long**, *Button* **As Integer**, *Shift* **As Integer**, *X* **As Single**, *Y* **As Single**, *State* **As Integer** )

*Effect*
: The effects the source allows when the event is raised. The handler sets it to the one a drop here would have.

*State*
: A member of [**DragOverConstants**](/tB/Packages/VBRUN/Constants/DragOverConstants.md): the pointer has entered the control, left it, or moved over it.

*Data*, *Button*, *Shift*, *X* and *Y* are as in [**OLEDragDrop**](#oledragdrop).

### OLEDragDrop
{: .no_toc }

Raised at the target when the data is dropped on it.

Syntax: *object*\_**OLEDragDrop**( *Data* **As DataObject**, *Effect* **As Long**, *Button* **As Integer**, *Shift* **As Integer**, *X* **As Single**, *Y* **As Single** )

*Data*
: The [**DataObject**](/tB/Packages/VBRUN/DataObject/index.md) that holds what is dropped.

*Effect*
: The effects the source allows when the event is raised. The handler sets it to what it did with the data.

*Button*, *Shift*
: The mouse buttons and the keys held down, as in [**MouseDown**](#mousedown-mousemove-mouseup).

*X*, *Y*
: The position of the pointer, in the scale units of the control's container.

### OLECompleteDrag
{: .no_toc }

Raised at the source when the drag has ended, dropped or cancelled.

Syntax: *object*\_**OLECompleteDrag**( *Effect* **As Long** )

*Effect*
: What the target did with the data, a member of [**OLEDropEffectConstants**](/tB/Packages/VBRUN/Constants/OLEDropEffectConstants.md). A source that offered a move removes its data when this is **vbDropEffectMove**.

## Right-to-left

### RightToLeft
{: .no_toc }

Whether the control lays its text out for a language written from right to left. **Boolean**. Default: **False**. Whether **True** takes effect depends on [**RightToLeftMode**](#righttoleftmode).

### RightToLeftLayout
{: .no_toc }

Whether the control is mirrored as a whole while [**RightToLeft**](#righttoleft) is in effect, so that what was at its left is at its right. **Boolean**. Default: **False**.

### RightToLeftMode
{: .no_toc }

What decides whether a [**RightToLeft**](#righttoleft) of **True** takes effect. A member of [**CCRightToLeftModeConstants**](#ccrighttoleftmodeconstants). Default: **CCRightToLeftModeVBAME**.

## OLEDropModeConstants
{: #oledropmodeconstants }

The values of [**OLEDropMode**](#oledropmode).

| Member | Value | Description |
|---|---|---|
| **OLEDropModeNone**{: #OLEDropModeConstants_OLEDropModeNone } | 0 | The control takes no dropped data. |
| **OLEDropModeManual**{: #OLEDropModeConstants_OLEDropModeManual } | 1 | The control raises the OLE drop events, and the program takes the data. |

## CCFontQualityConstants
{: #ccfontqualityconstants }

The values of [**FontQuality**](#fontquality). Each is the quality of that name that Windows gives a font.

| Member | Value | Description |
|---|---|---|
| **CCFontQualityDefault**{: #CCFontQualityConstants_CCFontQualityDefault } | 0 | The smoothing set for the system. |
| **CCFontQualityDraft**{: #CCFontQualityConstants_CCFontQualityDraft } | 1 | Draft quality. |
| **CCFontQualityProof**{: #CCFontQualityConstants_CCFontQualityProof } | 2 | Proof quality. |
| **CCFontQualityNonAntiAliased**{: #CCFontQualityConstants_CCFontQualityNonAntiAliased } | 3 | No smoothing. |
| **CCFontQualityAntiAliased**{: #CCFontQualityConstants_CCFontQualityAntiAliased } | 4 | Smoothing in shades of grey. |
| **CCFontQualityClearType**{: #CCFontQualityConstants_CCFontQualityClearType } | 5 | ClearType. |
| **CCFontQualityClearTypeNatural**{: #CCFontQualityConstants_CCFontQualityClearTypeNatural } | 6 | ClearType with the character widths of the font's design. |

## CCMousePointerConstants
{: #ccmousepointerconstants }

The values of [**MousePointer**](#mousepointer). The members to 15 and **CCMousePointerCustom** have the values of the [**MousePointerConstants**](/tB/Packages/VBRUN/Constants/MousePointerConstants.md) of the same pointers, but for **CCMousePointerHand**: it is 4, the value of **vbIconPointer**, where **vbHand** is 16. From 16 on, **CCMousePointerArrowCD** is 16 and **CCMousePointerPen** is 19, where **vbArrowCD** is 19 and **vbPen** is 31. The other members from 17 to 30 have the values of the twinBASIC pointers of the same name.

![The mouse pointer of each MousePointer value from CCMousePointerDefault to CCMousePointerScrollAll, as a WindowedLabel shows them on Windows 10](/Reference/Contributed/VBCCR18/Images/CCMousePointerConstants.png){:width="851" height="588"}

| Member | Value | Member | Value |
|---|---|---|---|
| **CCMousePointerDefault** | 0 | **CCMousePointerArrowCD** | 16 |
| **CCMousePointerArrow** | 1 | **CCMousePointerPin** | 17 |
| **CCMousePointerCrosshair** | 2 | **CCMousePointerPerson** | 18 |
| **CCMousePointerIbeam** | 3 | **CCMousePointerPen** | 19 |
| **CCMousePointerHand** | 4 | **CCMousePointerScrollN** | 20 |
| **CCMousePointerSizePointer** | 5 | **CCMousePointerScrollS** | 21 |
| **CCMousePointerSizeNESW** | 6 | **CCMousePointerScrollE** | 22 |
| **CCMousePointerSizeNS** | 7 | **CCMousePointerScrollW** | 23 |
| **CCMousePointerSizeNWSE** | 8 | **CCMousePointerScrollNS** | 24 |
| **CCMousePointerSizeWE** | 9 | **CCMousePointerScrollWE** | 25 |
| **CCMousePointerUpArrow** | 10 | **CCMousePointerScrollNW** | 26 |
| **CCMousePointerHourglass** | 11 | **CCMousePointerScrollNE** | 27 |
| **CCMousePointerNoDrop** | 12 | **CCMousePointerScrollSW** | 28 |
| **CCMousePointerArrowHourglass** | 13 | **CCMousePointerScrollSE** | 29 |
| **CCMousePointerArrowQuestion** | 14 | **CCMousePointerScrollAll** | 30 |
| **CCMousePointerSizeAll** | 15 | **CCMousePointerCustom** | 99 |

**CCMousePointerCustom** shows the picture in [**MouseIcon**](#mouseicon).

## CCRightToLeftModeConstants
{: #ccrighttoleftmodeconstants }

The values of [**RightToLeftMode**](#righttoleftmode).

| Member | Value | Description |
|---|---|---|
| **CCRightToLeftModeNoControl**{: #CCRightToLeftModeConstants_CCRightToLeftModeNoControl } | 0 | **RightToLeft** takes effect as it is set. |
| **CCRightToLeftModeVBAME**{: #CCRightToLeftModeConstants_CCRightToLeftModeVBAME } | 1 | It takes effect where the form's own controls can be laid out from right to left. |
| **CCRightToLeftModeSystemLocale**{: #CCRightToLeftModeConstants_CCRightToLeftModeSystemLocale } | 2 | It takes effect when the system locale's language is written from right to left. |
| **CCRightToLeftModeUserLocale**{: #CCRightToLeftModeConstants_CCRightToLeftModeUserLocale } | 3 | It takes effect when the user locale's language is written from right to left. |
| **CCRightToLeftModeOSLanguage**{: #CCRightToLeftModeConstants_CCRightToLeftModeOSLanguage } | 4 | It takes effect when the language of Windows' own windows is written from right to left. |

## CCAppearanceConstants
{: #ccappearanceconstants }

The values of the **Appearance** property of the controls that have one.

![Two check boxes and two frames drawn without visual styles: in CCAppearanceFlat the check box has a flat box and the frame a dark line, in CCAppearance3D the box is sunken and the frame's line is etched](/Reference/Contributed/VBCCR18/Images/CCAppearanceConstants.png){:width="361" height="191"}

| Member | Value | Description |
|---|---|---|
| **CCAppearanceFlat**{: #CCAppearanceConstants_CCAppearanceFlat } | 0 | A flat border. |
| **CCAppearance3D**{: #CCAppearanceConstants_CCAppearance3D } | 1 | A sunken border. |

## CCBorderStyleConstants
{: #ccborderstyleconstants }

The values of the **BorderStyle** property of the controls that offer more than a single line.

![Five text boxes that show Ada Lovelace, one in each BorderStyle value: CCBorderStyleNone with no border, CCBorderStyleSingle with a dark line, CCBorderStyleThin with a thin sunken edge, CCBorderStyleSunken with a sunken edge, and CCBorderStyleRaised with a raised edge](/Reference/Contributed/VBCCR18/Images/CCBorderStyleConstants.png){:width="821" height="103"}

| Member | Value | Description |
|---|---|---|
| **CCBorderStyleNone**{: #CCBorderStyleConstants_CCBorderStyleNone } | 0 | No border. |
| **CCBorderStyleSingle**{: #CCBorderStyleConstants_CCBorderStyleSingle } | 1 | A line. |
| **CCBorderStyleThin**{: #CCBorderStyleConstants_CCBorderStyleThin } | 2 | A thin sunken edge. |
| **CCBorderStyleSunken**{: #CCBorderStyleConstants_CCBorderStyleSunken } | 3 | A sunken edge. |
| **CCBorderStyleRaised**{: #CCBorderStyleConstants_CCBorderStyleRaised } | 4 | A raised edge. |

## CCBackStyleConstants
{: #ccbackstyleconstants }

![Two labels with a white BackColor over a hatched ground: in CCBackStyleTransparent the hatch shows behind the caption, in CCBackStyleOpaque the label is a white box](/Reference/Contributed/VBCCR18/Images/CCBackStyleConstants.png){:width="381" height="135"}

| Member | Value | Description |
|---|---|---|
| **CCBackStyleTransparent**{: #CCBackStyleConstants_CCBackStyleTransparent } | 0 | What is behind the control shows through. |
| **CCBackStyleOpaque**{: #CCBackStyleConstants_CCBackStyleOpaque } | 1 | The control fills its background with its **BackColor**. |

## CCLeftRightAlignmentConstants
{: #ccleftrightalignmentconstants }

![Two ticked check boxes with the caption Remember me: in CCLeftRightAlignmentLeft the box is at the left of the caption, in CCLeftRightAlignmentRight at its right](/Reference/Contributed/VBCCR18/Images/CCLeftRightAlignmentConstants.png){:width="381" height="99"}

| Member | Value | Description |
|---|---|---|
| **CCLeftRightAlignmentLeft**{: #CCLeftRightAlignmentConstants_CCLeftRightAlignmentLeft } | 0 | At the left. |
| **CCLeftRightAlignmentRight**{: #CCLeftRightAlignmentConstants_CCLeftRightAlignmentRight } | 1 | At the right. |

## CCVerticalAlignmentConstants
{: #ccverticalalignmentconstants }

![Three tall command buttons with the caption Save: at the top in CCVerticalAlignmentTop, in the middle in CCVerticalAlignmentCenter, and at the bottom in CCVerticalAlignmentBottom](/Reference/Contributed/VBCCR18/Images/CCVerticalAlignmentConstants.png){:width="531" height="143"}

| Member | Value | Description |
|---|---|---|
| **CCVerticalAlignmentTop**{: #CCVerticalAlignmentConstants_CCVerticalAlignmentTop } | 0 | At the top. |
| **CCVerticalAlignmentCenter**{: #CCVerticalAlignmentConstants_CCVerticalAlignmentCenter } | 1 | In the middle. |
| **CCVerticalAlignmentBottom**{: #CCVerticalAlignmentConstants_CCVerticalAlignmentBottom } | 2 | At the bottom. |

## CCIMEModeConstants
{: #ccimemodeconstants }

The values of the **IMEMode** property of the controls that take text: the state of the Input Method Editor while the control has the focus.

| Member | Value | Description |
|---|---|---|
| **CCIMEModeNoControl**{: #CCIMEModeConstants_CCIMEModeNoControl } | 0 | The control leaves the editor as it is. |
| **CCIMEModeOn**{: #CCIMEModeConstants_CCIMEModeOn } | 1 | On. |
| **CCIMEModeOff**{: #CCIMEModeConstants_CCIMEModeOff } | 2 | Off. |
| **CCIMEModeDisable**{: #CCIMEModeConstants_CCIMEModeDisable } | 3 | Off, and the user cannot turn it on. |
| **CCIMEModeHiragana**{: #CCIMEModeConstants_CCIMEModeHiragana } | 4 | Full-width hiragana. |
| **CCIMEModeKatakana**{: #CCIMEModeConstants_CCIMEModeKatakana } | 5 | Full-width katakana. |
| **CCIMEModeKatakanaHalf**{: #CCIMEModeConstants_CCIMEModeKatakanaHalf } | 6 | Half-width katakana. |
| **CCIMEModeAlphaFull**{: #CCIMEModeConstants_CCIMEModeAlphaFull } | 7 | Full-width letters and digits. |
| **CCIMEModeAlpha**{: #CCIMEModeConstants_CCIMEModeAlpha } | 8 | Half-width letters and digits. |
| **CCIMEModeHangulFull**{: #CCIMEModeConstants_CCIMEModeHangulFull } | 9 | Full-width hangul. |
| **CCIMEModeHangul**{: #CCIMEModeConstants_CCIMEModeHangul } | 10 | Half-width hangul. |

## CCScrollOrientationConstants
{: #ccscrollorientationconstants }

| Member | Value | Description |
|---|---|---|
| **CCScrollOrientationHorizontal**{: #CCScrollOrientationConstants_CCScrollOrientationHorizontal } | 0 | Left and right. |
| **CCScrollOrientationVertical**{: #CCScrollOrientationConstants_CCScrollOrientationVertical } | 1 | Up and down. |
| **CCScrollOrientationBoth**{: #CCScrollOrientationConstants_CCScrollOrientationBoth } | 2 | Both. |

## See Also

- [VBCCR18 Package](/tB/Packages/Contributed/VBCCR18/index.md)
- [DataObject](/tB/Packages/VBRUN/DataObject/index.md) class -- what the OLE drag-and-drop events carry
