Results for "Category: Custom Controls/ Forms/ Menus"
Splitter Control is a Windows Explorer style splitter. To use it, add controls to it the same way you do for a frame, and set the Child1 and/or Child2 properties to the names of the added controls. Features - Live and non-live updating while child controls are resized - Customize appearance of splitter bar while not live updating - Escape can be pressed while moving splitter bar to cancel the move - Specify a maximum size for a child control - Specify a minimum size for either child control - Horizontal or vertical orientation - Position splitter bar by percentage or absolute position
cCoolScrollbars is a little class which will let you customize (in fact, "overpaint") built-in scrollbars appearance. Two modes: Flat and Custom-Draw. For more information read class' comments and have a look at given URL to know how this SHOULD be achieved. // Need to register SubclassingSink.tlb __________________________________________________ Update Dec 14th: Support for 'drop-down' windows. Added basic demo classes: cFlatCombo and cFlatImageCombo.
A little control: I'm not sure whether 'ucComboTrackbar' is the most appropriate name, but, which one? Quite basic, though it supports 3 appearance styles plus themed one (when available). And not much more... Try it yourself :-) (Last version: 1.2.5 - ~25KB zip)
Another little control. This time, a basic 'custom-draw' method is supported. // Last update: 12.20.05 (rv 4)
ucCanvas2 user control: High-quality image previewing (w/ zooming+scrolling) through GDI+. If you don't have XP or Win2k SP3 then you must install GDI+ dll: http://www.microsoft.com/downloads/release.asp?releaseid=32738. __________________________________________________ Zip 11Kb
Lightweight toolbar. Now, three button types supported: Normal, Check and Option. // 20Kb zip.
A simple Up-Down Box. Two versions: scrollbar based and owner drawn. Long support / key support.
Nothing special: a simple progress bar.
New release. Hope now working correctly on W9x, too. // Added 'Enabled', 'Bitmap' and 'MaskColor' R/W properties for caption buttons. Fixed centering of bitmap. // 15Kb.
New update: OLE Drag & Drop support. // Most part of new code is based on vbAccelerator's TreeView control. Some new methods and properties have been added, too (see control History for more info). // Let me know about any bug, suggestion. __________________________________________________ Update #1: Added CheckChildren() method (hereditary checking) // Fixed: NodeDblClick not raised when DblClick on 'CheckBox'. Also node not expanded/collapsed. // For folder-explorer implementation, see CodeId=56432. __________________________________________________ Update #2: Unicode.
Almost single-module TreeView user-control (thanks, Paul). // Zip 32Kb.
Status bar API-UserControl.
ucToolbar version 3.1 (API). // Update 10/17: AddBitmap() and AddIcon() methods. // Fixed shutdown-crash when using manifest for themes (thanks to Abhishek.NET for report this). Also fixed ToolbarEnter() and ButtonEnter() events when button disabled.
API-ListView usercontrol with most commom features (no dependencies -> thanks to Paul Caton for his great self-subclassing usercontrol template [CodeId=54117]). __________________________________________________ Notice: 1) Column, item and imagelist-icon indexing is zero-based. 2) Sorting: user should create a 'private' array for storing current column sort order (Ascending/Descending: 1/-1) -> Switch between sort order. 3) Items/SubItems do not allow custom font appearance (Bold, Color, etc). -> This needs custom-draw routines. 4) All properties are 'run-time properties'. __________________________________________________ Update 09/07: Added basic custom-draw support (for [Details] mode). Now, you can easily create a highlight effect (row and/or column). Enable RaiseSubItemPrePaint() and respond to OnSubItemPrePaint() event. __________________________________________________ Update 09/08: Custom-draw fix. Crash when XP theme enabled (Thanks to Dana Seaman). __________________________________________________ Update 12/09: Second and last fix for XP. __________________________________________________ Compatibility: in principle, all systems. // 33Kb zip.
Basic FolderView user control (only standard folders). // 21Kb zip
Nothing special: This is a simplified version of a custom control I've been using in several applications. cDIB class has been revised (supports all color depths) and new functions added. For NT users, new StretchBltMode parameter (Paint() and Stretch() functions), allowing [Halftone] mode for API-dithering (ordered dither). Note: If you only want to preview images, pass [Force32bpp]=True (->CreateFromStdPicture); this will improve zoom/scroll behavior (specialy on palette based bitmaps). // 14Kb zip
Make your own slider. Complete graphical slider control: Vertical/Horizontal orientation, ShowValueTip option, [Long] range... Sample project and some images included. __________________________________________________ Re-coded: 2005.05.29. OCX to private usercontrol.
A complete graphical button: Automatic 3D colors, all standard picture types supported with transparency ability, justify and alignment options, MouseIn & MouseOut events... __________________________________________________ Re-coded: 2005.05.29
A ListBox control with cool effects. Sample project demo.