Skip to content

VBCCR Development Manual

VBCCR (VB Common Controls Replacement) is a comprehensive replacement library for the Microsoft Common Controls (MSComCtl) in Visual Basic 6, developed and maintained by Kr00l. While maintaining compatibility with the original controls, it provides enhanced functionality, improved visual appearance, and full Unicode support.

Key advantage: Resolves the garbled text issue when displaying Unicode characters on native VB6 form controls.

This documentation is based on the VBCCR 1.8 source code. All interface information is derived from the actual code to ensure accuracy.

Quick Start

  1. Download the VBCCR library from the GitHub repository
  2. Register the OCX file on your system: regsvr32 VBCCR18.OCX
  3. Add a reference to the VBCCR controls in your VB6 project
  4. Use the enhanced controls on your forms

Included Controls

Buttons

ControlClass NameDescription
CheckBoxWCheckBoxWUnicode CheckBox control
CommandButtonWCommandButtonWUnicode CommandButton control
CommandLinkCommandLinkCommandLink control
OptionButtonWOptionButtonWUnicode OptionButton control

Text

ControlClass NameDescription
TextBoxWTextBoxWUnicode TextBox control
RichTextBoxRichTextBoxRichTextBox control
SpinBoxSpinBoxSpinBox control
LabelWLabelWUnicode Label control
WindowedLabelWindowedLabelWindowed Label control
LinkLabelLinkLabelLinkLabel control
HotKeyHotKeyHotKey control

Lists

ControlClass NameDescription
ComboBoxWComboBoxWUnicode ComboBox control
ListBoxWListBoxWUnicode ListBox control
FontComboFontComboFont selection ComboBox control
ImageComboImageComboImage ComboBox control
IPAddressIPAddressIP Address control
VirtualComboVirtualComboVirtual ComboBox control
VListBoxVListBoxVirtual ListBox control

Views

ControlClass NameDescription
ListViewListViewListView control
TreeViewTreeViewTreeView control
TabStripTabStripTabStrip control

Bars

ControlClass NameDescription
ToolBarToolBarToolBar control
StatusBarStatusBarStatusBar control
CoolBarCoolBarDockable toolbar control
PagerPagerPager control

Ranges

ControlClass NameDescription
SliderSliderSlider control
ProgressBarProgressBarProgressBar control
UpDownUpDownUpDown control
AnimationAnimationAnimation control

Date/Time

ControlClass NameDescription
DTPickerDTPickerDateTimePicker control
MonthViewMonthViewMonthView control

System

ControlClass NameDescription
CommonDialogCommonDialogCommon Dialog class
SysInfoSysInfoSystem Information control
ImageListImageListImageList control
FrameWFrameWUnicode Frame control
MCIWndMCIWndMultimedia control

Common Helper Modules

VBCCR also provides the following public helper modules shared by all controls:

ModuleFileDescription
CommonCommon.basGeneral utility functions (MsgBox, SendKeys Unicode versions, clipboard operations, DPI helpers, image processing, etc.)
VisualStylesVisualStyles.basVisual style management (ActivateVisualStyles, RemoveVisualStyles, GetComCtlVersion)
ISubclassISubclass.clsSubclassing interface
ComCtlsBaseComCtlsBase.basControl base module
VTableHandleVTableHandle.basVTable handling module

Common Enumerations

The following enumerations are shared across multiple controls:

CCAppearanceConstants

ConstantValueDescription
cc2D0Flat appearance
cc3D13D appearance

CCLeftRightAlignmentConstants

ConstantValueDescription
ccLeft0Left alignment
ccRight1Right alignment

CCVerticalAlignmentConstants

ConstantValueDescription
ccTop0Top alignment
ccBottom1Bottom alignment
ccVCenter2Vertical center

CCMousePointerConstants

ConstantValue
ccDefault0
ccArrow1
ccCrosshair2
ccIBeam3
ccIcon4
ccSize5
ccSizeNESW6
ccSizeNS7
ccSizeNWSE8
ccSizeWE9
ccUpArrow10
ccHourglass11
ccNoDrop12
ccArrowHourglass13
ccArrowQuestion14
ccSizeAll15
ccCustom99

CCRightToLeftModeConstants

ConstantValueDescription
ccRtlModeNo0No RTL
ccRtlModeStandard1Standard RTL
ccRtlModeV22V2 mode RTL

CCIMEModeConstants

ConstantValue
ccIMENoControl0
ccIMEOn1
ccIMEOff2
ccIMEDisable3
ccIMEHiragana4
ccIMEKatakanaDbl5
ccIMEKatakanaSng6
ccIMEAlphaDbl7
ccIMEAlphaSng8
ccIMEHangulDbl9
ccIMEHangulSng10

OLEDropModeConstants

ConstantValue
ccOLEDropNone0
ccOLEDropManual1

Author Documentation

The official documentation written by VBCCR author Kr00l (Chinese translation), covering StdEXE/OCX version usage guides, OCX2StdEXE tool instructions, compilation options, and version history:

Read Author Documentation

Additional Resources

VB6 and LOGO copyright of Microsoft Corporation