VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Make your form transparent According To Your Value

Buddhika Fernando.  (6 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Sun 3rd September 2006   Mon 8th February 2021

Make your form transparent According To Your Value

API Declarations



Public Const GWL_EXSTYLE As Long = -20
Public Const WS_EX_LAYERED As Long = &H80000
Public Const LWA_ALPHA As Long = &H2

Public Declare Function GetWindowLong Lib "user32.dll" Alias "GetWindowLongA" ( _
ByVal hwnd As Long, _
ByVal nIndex As Long) As Long
Public Declare Function SetLayeredWindowAttributes Lib "user32.dll" ( _
ByVal hwnd As Long, _
ByVal crKey As Long, _
ByVal bAlpha As Byte, _
ByVal dwFlags As Long) As Long
Public Declare Function SetWindowLong Lib "user32.dll" Alias "SetWindowLongA" ( _
ByVal hwnd As Long, _
ByVal nIndex As Long, _
ByVal dwNewLong As Long) As Long
Public Declare Function SetParent Lib "user32.dll" ( _
ByVal hWndChild As Long, _
ByVal hWndNewParent As Long) As Long

Rate Make your form transparent According To Your Value (1(1 Vote))
Make your form transparent According To Your Value.bas

Make your form transparent According To Your Value Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters