VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



GUI Button Rollover

by Master_Coder (4 Submissions)
Category: Custom Controls/Forms/Menus
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (12 Votes)

Provides the ability to emulate complex GUI designs with realitive ease. The button supports Normal, Mouse Over, Mouse Down, Disabled, Selected and Selected Over. 100% self-contained in a single UserControl file. Full visibility during design time, including full transparency when using a Mask image. Perfect for those complex GUI designs.

Inputs
Provide it the images for Normal, Mouse Over, Mouse Down, Disabled, Selected and Selected Over. You may or may not need to provide a Mask image, if any of your buttons overlap.
Assumes
You must provide at least the Normal images and a Mask image. If the button does not overlap another button, then you must set the Mask image to the same image as Normal.
Code Returns
A beautiful GUI!
API Declarations
Only 3 of them and they are designed to aid in the detection Mouse Enter and Mouse Leave functionality.
Private Declare Function GetCapture Lib "User32" () As Long
Private Declare Function ReleaseCapture Lib "User32" () As Long
Private Declare Function SetCapture Lib "User32" (ByVal hWnd As Long) As Long

Rate GUI Button Rollover

Download GUI Button Rollover

Download GUI Button Rollover (193 KB)

GUI Button Rollover Comments

No comments have been posted about GUI Button Rollover. Why not be the first to post a comment about GUI Button Rollover.

Post your comment

Subject:
Message:
0/1000 characters