Search Tools Links Login

Ariel Color Box Control V1.1 (updated)


Visual Basic 6, or VB Classic

A popup color selector active-x control, similar to a combobox, featuring 12 different palettes, and 2 color selection events: Click() and Change(). The popup window can be disabled, in which case the popup()event may be used to substitute your own color selection code, or access to the common windows dialog. Hue selection is done
through mouse hovering using custom timer class. Credits to various PSC contributors as listed in the text file. Uses 12 API functions. Full source included - well commented.
V1.1 now includes hWnd property. (Thanks Ross McCawley!)

Original Author: Tom de Lange

API Declarations

No need to copy!
---------------------------------
MoveToEx Lib "gdi32"
LineTo Lib "gdi32"
DrawEdge Lib "user32"
PtInRect Lib "user32"
SetParent Lib "user32"
SetWindowLong Lib "user32"
SetCapture Lib "user32"
GetCapture Lib "user32"
ReleaseCapture Lib "user32"
GetWindowRect Lib "user32"
GetClientRect Lib "user32"
GetFocus Lib "user32"

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 172 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD104031032000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 85,622 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.