you have to make a picture of a pure color, then set the pic as the background, then for form properties: TransparentKey: Color of the picture.
title says it
How do u do it?
i wanna make it so u can see like buttons and stuff still.. but the is no form background at all.. so like the buttons look like they are basically floating
thanks - liquidforce
you have to make a picture of a pure color, then set the pic as the background, then for form properties: TransparentKey: Color of the picture.
Posts:
10 posts []
50 posts []
100 posts []
500 posts []
Thanks:
5 thanks []
10 thanks []
100 thanks []
Profile:
Make a signature []
Set a profile picture []
Hacks:
Download and use a hack []
Get a virus []
... or two... []
Release my own hacks []
No5cope (09-11-2009)
but will this make it so that the buttons and checkboxes and wot not stil show??
EDIT: forgot this post.. IT WORKED! ty mate
Last edited by No5cope; 09-11-2009 at 11:01 PM. Reason: it worked
Or you could change the opacity to 0%, it will make form see thru
makes anything the color vbCyan to become transparentCode: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 SetLayeredWindowAttributes Lib "user32" ( _ ByVal hwnd As Long, _ ByVal crKey As Long, _ ByVal bAlpha As Byte, _ ByVal dwFlags As Long) As Long Private Const GWL_STYLE = (-16) Private Const GWL_EXSTYLE = (-20) Private Const WS_EX_LAYERED = &H80000 Private Const LWA_COLORKEY = &H1 Private Const LWA_ALPHA = &H2 Private Sub Form_Load() Me.BackColor = vbCyan SetWindowLong Me.hwnd, GWL_EXSTYLE, GetWindowLong(Me.hwnd, GWL_EXSTYLE) Or WS_EX_LAYERED SetLayeredWindowAttributes Me.hwnd, vbCyan, 0&, LWA_COLORKEY End Sub
Just go to transparecy key and select Transparant then go to backgroundcolor and set it to Highlight.