by Joshua Kan Wing Yean (1 Submission)
Category: OLE/COM/DCOM/Active-X
Compatability: VB Script
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(9 Votes)
Actually This is a custom control window.. we can change the background colour of a window, caption font size and etc.... That mean esay we can have a coolwindow by just setting up it's properties..
Inputs
Take a look at it's properties
Assumes
No..
Side Effects
During your development time, if you want to resize it's and you must click on it and drag it's to a side and then click on the your form and resize your form.... It's will automatically follow the size of your form.
API DeclarationsConst WM_NCLBUTTONDOWN = &HA1
Const HTCAPTION = 2
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Declare Sub ReleaseCapture Lib "user32" ()
Private Declare Function GetCursorPos Lib "user32" (lpPoint As PointAPI) As Long
Download CoolWindow (17 KB)