VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

An easy way to do a transparate control and a skin

Joacorp.  (1 Submission)   Miscellaneous   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

This code is for people who want to make skin in an easy way, and it demonstrate a way to do a custom message box with the Msgbox command (msgbox "the message","the title"). Also, my code teach how to do a transparent control (like commandbutton or textbox or FORM), please rate it good, I take several days searching API'S

API Declarations
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Declare Function ReleaseCapture Lib "user32.dll" () As Long
Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Declare Function SetLayeredWindowAttributes Lib "user32.dll" (ByVal hWnd As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Rate An easy way to do a transparate control and a skin (9(9 Vote))

Download An easy way to do a transparate control and a skin

An easy way to do a transparate control and a skin Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters