Go Back   Gaming Gutter > Non-Gaming > Programming > Source Code


Source Code - Have a source code/project files you want to post? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Lil Wayne
10-21-2008 09:33 PM
Last post by smokey
Today 09:02 PM
41 Replies, 331 Views
Go to first new post The best browser
11-13-2008 06:35 PM
Last post by azn fingers
Today 08:54 PM
59 Replies, 353 Views
Go to first new post Selling Tons of Legit...
07-17-2008 06:47 PM
by Crim
Last post by ebilbish
Today 08:51 PM
432 Replies, 4,744 Views
Go to first new post What's your weather?
11-08-2008 04:43 PM
by reirei
Last post by azn fingers
Today 08:51 PM
58 Replies, 355 Views
Go to first new post Instruments, anyone?
10-23-2008 11:50 AM
Last post by azn fingers
Today 08:49 PM
131 Replies, 728 Views
Reply
 
LinkBack Thread Tools Display Modes

 [VB6] Making Semi Transparent Form
Old 02-21-2007, 01:53 AM   #1 (permalink)
Underground

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 19
Posts: 5,025
GPoints: 317
iTrader: 1 / 100%
second2none Is a Party Captainsecond2none Is a Party Captainsecond2none Is a Party Captain
Rep Power: 16
[VB6] Making Semi Transparent Form

Code:
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
^^^Declare this...

Then add this vvvvvv
Code:
Private Sub Form_Load()
    SetWindowLong Me.hWnd, (-20), &H80000
    SetLayeredWindowAttributes Me.hWnd, 0, 200, &H2
End Sub
Thought I would share this. Its a pretty nifty thing hehe.

Credits to freevbcode.com


Things to know..

If you change

SetLayeredWindowAttributes Me.hWnd, 0, 200, &H2

The 200, it changes the opacity or whatever it is. 255 is the highest & 0 is you have no form xD pretty fun to play around with
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!

Last edited by second2none; 02-21-2007 at 01:59 AM.
  Reply With Quote

 Re: [VB6] Making Semi Transparent Form
Old 02-24-2007, 10:32 AM   #2 (permalink)
Underground

Male rcadble is offline
 
Join Date: Sep 2006
Posts: 227
GPoints: 60
iTrader: 0 / 0%
rcadble Is Recognizable
Rep Power: 7
Re: [VB6] Making Semi Transparent Form

Cool, i've wondered about that but it is a little pointless.

I know in vb.net there is a set attribute that you can just change like form1.opacity or something. But cool.
  Reply With Quote

 Re: [VB6] Making Semi Transparent Form
Old 02-24-2007, 09:46 PM   #3 (permalink)
Underground

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 19
Posts: 5,025
GPoints: 317
iTrader: 1 / 100%
second2none Is a Party Captainsecond2none Is a Party Captainsecond2none Is a Party Captain
Rep Power: 16
Re: [VB6] Making Semi Transparent Form

Yeha pretty pointless xD But its fun to muck around with
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 09:05 PM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.10901690 seconds (100.00% PHP - 0% MySQL) with 19 queries