VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

CoolWindow

Joshua Kan Wing Yean  (1 Submission)   OLE/COM/DCOM/Active-X   VB Script   Beginner   Wed 3rd February 2021

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 Declarations
Const 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

Rate CoolWindow (9(9 Vote))

Download CoolWindow

CoolWindow Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters