Results 1 to 14 of 14

Thread: How to make a picturebox transparent

Threaded View

  1. #1

    Thread Starter
    Fanatic Member technorobbo's Avatar
    Join Date
    Dec 2008
    Location
    Chicago
    Posts
    864

    How to make a picturebox transparent

    Here's a technique that I worked out to make a picturebox see thru.

    Layered windows are considered the top most window with no parent - but if you take a picturebox set it's parent to zero you can make it transparent then set the form as it's parent again. you must refresh immediately to lock the graphics. the drawback is that the coordinates are now screen coordinates but I use ClientToScreen and a timer to keep it aligned.
    Attached Files Attached Files
    Last edited by technorobbo; May 5th, 2009 at 07:01 PM.
    Have Fun,

    TR
    _____________________________
    Check out my Alpha DogFighter2D Game Demo and Source code. Direct Download:http://home.comcast.net/~technorobbo/Alpha.zip or Read about it in the forum:http://www.vbforums.com/showthread.php?t=551700. Now in 3D!!! http://home.comcast.net/~technorobbo/AlPha3D.zip or read about it in the forum: http://www.vbforums.com/showthread.php?goto=newpost&t=552560 and IChessChat3D internet chess game

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width