VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



An easy way to do a transparate control and a skin

by Joacorp. (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

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

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

Download An easy way to do a transparate control and a skin (5 KB)

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

No comments have been posted about An easy way to do a transparate control and a skin. Why not be the first to post a comment about An easy way to do a transparate control and a skin.

Post your comment

Subject:
Message:
0/1000 characters