Results 1 to 8 of 8
  1. #1
    2vivi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    C:\Documents and Settings\All Users\Desktop\YourMomsPornVids
    Posts
    174
    Reputation
    10
    Thanks
    28
    My Mood
    Psychedelic

    transparent edges

    i am working on a project and i want to make a gui.

    how can i cut out edges to make them transparent??

    Example:


  2. #2
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    Make form1 transparent, and have a picture box (The GUI) over it, then add your buttons etc

    Form1 Properties > Backcolor > Transparent

    There is another way to do that, I just can't remember it

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

    2vivi (01-11-2010)

  4. #3
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    go to form opacity and set it to zero i think.
    wait, that will prolly make the picture box transparent to..

  5. The Following User Says Thank You to XGelite For This Useful Post:

    2vivi (01-11-2010)

  6. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    (do it programatically)

    Code:
     Private Sub Form1_Load(ByVal sender As System.Object, _
           ByVal e As System.EventArgs) Handles MyBase.Load
     
           Me.Opacity = 0
           ' or Me.Opacity = 0.0 , can't remember
        End Sub
    or use transparencyKey

    Code:
    Me.FormBorderStyle = _
        System.Windows.Forms.FormBorderStyle.None
    Me.TransparencyKey = System.Drawing.Color.Green 'or whatever your backround color is
    There are also ways of using custom shapes + GDI for the same effect, but it's a little more complex
    Last edited by NextGen1; 01-11-2010 at 10:02 AM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  7. The Following 3 Users Say Thank You to NextGen1 For This Useful Post:

    2vivi (01-11-2010),Pixie (01-11-2010),Zoom (01-11-2010)

  8. #5
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Quote Originally Posted by NextGen1 View Post
    (do it programatically)

    Code:
     Private Sub Form1_Load(ByVal sender As System.Object, _
           ByVal e As System.EventArgs) Handles MyBase.Load
     
           Me.Opacity = 0
           ' or Me.Opacity = 0.0 , can't remember
        End Sub
    or use transparencyKey

    Code:
    Me.FormBorderStyle = _
        System.Windows.Forms.FormBorderStyle.None
    Me.TransparencyKey = System.Drawing.Color.Green 'or whatever your backround color is
    There are also ways of using custom shapes + GDI for the same effect, but it's a little more complex
    transparency key is glitchy.

  9. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Quote Originally Posted by XGelite View Post
    transparency key is glitchy.
    Can be... But still an alternative programatically, I prefer to give code versus built in properties, it's good to know how to do it on the fly, if necessary .

    but also keep in mind, if not done right , Opacity can be tricky as well, opacity can make the whole form and it's controls transparent (by default inherit) so keep that in mind as well


     


     


     



    The Most complete application MPGH will ever offer - 68%




  10. #7
    2vivi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    C:\Documents and Settings\All Users\Desktop\YourMomsPornVids
    Posts
    174
    Reputation
    10
    Thanks
    28
    My Mood
    Psychedelic
    k thanks guys ill try it out

  11. #8
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Thanks for this! really helps!
    -Rest in peace leechers-

    Your PM box is 100% full.

Similar Threads

  1. transparant
    By supremer in forum Visual Basic Programming
    Replies: 4
    Last Post: 06-20-2008, 11:19 AM
  2. [Tutorial]Vb6 Transparent Form
    By blipi in forum Visual Basic Programming
    Replies: 16
    Last Post: 01-31-2008, 08:43 AM
  3. [Help]Transparent Background for Crosshairs...
    By Jumpshot in forum Visual Basic Programming
    Replies: 12
    Last Post: 01-30-2008, 09:57 AM
  4. Transparent cape symbol (7 steps tut)
    By AN1MAL in forum Knight Online Hacks
    Replies: 8
    Last Post: 12-25-2007, 07:55 PM
  5. DXT-transparent trainer w/ bypass
    By Stranger00 in forum WarRock - International Hacks
    Replies: 23
    Last Post: 07-25-2007, 12:36 PM