Results for "Category: Custom Controls/ Forms/ Menus"
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.
This control joins ProgressBar and ScrollBar: 1) Choose back picture and 'fore' picture. 2) Select scroll orientation. 3) Set Min and Max values and 4) Choose caption format... Sample project included. __________________________________________________ Re-coded: 2005.05.29. OCX to private usercontrol.
Simple button control. (Re-coded: 2003.02.18). Zip 8Kb.
This is a custom EditBox that has all features of a textbox in addition to new and standard features like automatic undo, cut-copy-paste, replace and find strings, etc. The interface is specially worked out to be simple yet appealing, with a customizable margin colour, separator, etc. In the OCX project there are two controls one is a multiline textbox the other is LineEdit that is a single line box.