Results 1 to 11 of 11
  1. #1
    No5cope's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    1,902
    Reputation
    26
    Thanks
    678
    My Mood
    Aggressive

    How to make only thr form background trasnparent??..

    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

  2. #2
    gwentravolta's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    A cardboard Box
    Posts
    311
    Reputation
    9
    Thanks
    46
    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 []



  3. The Following User Says Thank You to gwentravolta For This Useful Post:

    No5cope (09-11-2009)

  4. #3
    No5cope's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    1,902
    Reputation
    26
    Thanks
    678
    My Mood
    Aggressive
    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

  5. #4
    Iamazn's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    141
    Reputation
    10
    Thanks
    85
    Or you could change the opacity to 0%, it will make form see thru

  6. #5
    No5cope's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    1,902
    Reputation
    26
    Thanks
    678
    My Mood
    Aggressive
    Quote Originally Posted by Iamazn View Post
    Or you could change the opacity to 0%, it will make form see thru
    yes but that makes everything have an opacity of 0... were as the transparent key makes the form invisble and levees everyhting else on

  7. #6
    Iamazn's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    141
    Reputation
    10
    Thanks
    85
    Quote Originally Posted by liquidforce View Post
    yes but that makes everything have an opacity of 0... were as the transparent key makes the form invisble and levees everyhting else on
    Oh sorry I didnt know that

  8. #7
    No5cope's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    1,902
    Reputation
    26
    Thanks
    678
    My Mood
    Aggressive
    Quote Originally Posted by Iamazn View Post
    Oh sorry I didnt know that
    all good.. we all lernt something new

  9. #8
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Code:
       
          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
    makes anything the color vbCyan to become transparent

  10. #9
    DylanOwnsYou's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    In the air, rising higher and higher as I watch you crash.
    Posts
    379
    Reputation
    19
    Thanks
    82
    My Mood
    Cynical
    Quote Originally Posted by gwentravolta View Post
    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.
    dude nice lol, i just figured out my coding too, it works thanks, do you by any chance know how to make chams on VB or how to make my crosshair go over CA

  11. #10
    jopopino's Avatar
    Join Date
    May 2008
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    14
    Just go to transparecy key and select Transparant then go to backgroundcolor and set it to Highlight.

  12. #11
    No5cope's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    1,902
    Reputation
    26
    Thanks
    678
    My Mood
    Aggressive
    Quote Originally Posted by jopopino View Post
    Just go to transparecy key and select Transparant then go to backgroundcolor and set it to Highlight.
    yea we already no

Similar Threads

  1. FREE TIPS AND TRICKS ON HOW TO MAKE 784K A DAY...ONLY 20 PEOPLE CAN VIEW
    By Screenlooker in forum Trade Accounts/Keys/Items
    Replies: 3
    Last Post: 10-05-2019, 01:32 PM
  2. [Tutorial]VB2008! How To Make Digital Clock On Your Form!
    By almog6666 in forum Visual Basic Programming
    Replies: 3
    Last Post: 04-09-2009, 01:55 PM
  3. [Help] How to make a form always on top.
    By wr194t in forum Visual Basic Programming
    Replies: 6
    Last Post: 10-23-2007, 07:41 AM
  4. How to make a Zombie
    By arunforce in forum Art & Graphic Design
    Replies: 2
    Last Post: 01-27-2006, 08:07 AM
  5. How I make wallhack?
    By RaidenDXX in forum WarRock - International Hacks
    Replies: 6
    Last Post: 01-23-2006, 01:28 PM

Tags for this Thread