by Gene Martynov (4 Submissions)
Category: OLE/COM/DCOM/Active-X
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (20 Votes)
This control DOES NOT use Timer and is an active button with following parameters you can set:
Image when mouse is over,
Image when button is up,
Image when button is down,
Image when button is disabled,
BackStyle - transparancy according to Mask Color,
MaskColor - what color on image will be transparent,
Style - standard button or check button,
Value - set/return either button is pressed or released,
and other.
It works just like toolbar button except it does not have a frame and you can specify all the images. This is a new version with bug fixed.
Assumes
The main idea of the button is to set mouse capture. You can see it in source codes or just use compiled OCX.
Side Effects
If you would find any, let me know
Download Active Button (19 KB)