Modern UI Control for Visual Basic 6 — Single-file, GDI+ Powered
Drop-in UserControl that transforms VB6 forms into modern, dark-themed applications with anti-aliased rendering, smooth animations, and Windows 11-style chrome.
- Single file — just one .ctl file, no dependencies, no OCX registration
- GDI+ rendering — anti-aliased text, rounded corners, smooth gradients
- 7 control types in one UserControl:
| ControlType | Description |
|---|---|
czTitleBar |
Custom window chrome with min/max/close/fullscreen buttons, drag-to-move, DWM rounded corners |
czButton |
Rounded button with hover/press states, primary/secondary/danger styles |
czLabel |
Anti-aliased label with alignment options |
czPanel |
Card container with optional header, border, expandable side panel |
czTextBox |
Styled text input with placeholder text |
czToggle |
iOS-style toggle switch with 60fps ease-in-out animation |
czProgressBar |
Rounded progress bar with percentage text |
- Open your VB6 project
- Project > Add User Control > Existing > select
czUI.ctl - Drop
czControlinstances on your form - Set
ControlTypeproperty in the Property Window - Configure colors, fonts, and behavior
Coming soon
| Element | Color | Hex |
|---|---|---|
| Form Background | Dark brown | #1B2838 |
| Panel | Slightly lighter | #243447 |
| Border | Subtle edge | #2C4158 |
| Accent (Amber) | Primary action | #F5A623 |
| Text | White | #FFFFFF |
| Secondary text | Gray | #8899AA |
- Windows 11-style glyphs (pixel-perfect)
- Fullscreen mode with auto-show on mouse hover
- Double-click to maximize/restore
- Drag to move, gear icon for settings
- Rounded corners via DWM API
- 60fps timer-based animation
- Ease-in-out cubic easing
- Color interpolation (track blends between on/off colors)
- Hover zoom effect on thumb (+2px)
- Visual Basic 6.0 SP6
- Windows XP or later (GDI+ is built-in since XP)
- No external dependencies
v0.1 — Initial release
MIT License — see LICENSE
Abu Dzakiyyah aka Cyberzilla