by Kevin Kanowitz (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)

Makes a cool button like what you see on MSDN or Microsoft's ASP.NET Web Matrix.
UPDATED TO VERSION 1.5. FIXES:
- Fixed when label is clicked, click event works.
- Added "Option Explicit".
- Fixed enabling/disabling of button.
Assumes
If there is any problems please let me know. :)
API DeclarationsPrivate Declare Function GetCursorPos Lib "user32" (lpPoint As POINT_API) As Long
Private Declare Function ScreenToClient Lib "user32" (ByVal hWnd As Long, lpPoint As POINT_API) As Long
Private Type POINT_API
X As Long
Y As Long
End Type