by Carles P.V. (53 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (8 Votes)
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
Download ucCanvas + cDIB revised (13 KB)