|
-
Feb 3rd, 2009, 06:42 AM
#1
Thread Starter
Addicted Member
-
Feb 3rd, 2009, 07:37 AM
#2
Re: Transparent control (or picture background)
I assume this is something like a popup...
Make them buttons on to a separate form...
Then make the form transparent/translucent and position it to where needed..
Search for those terms (transparent/translucent) and you should get an answer...
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
Feb 3rd, 2009, 08:38 AM
#3
Thread Starter
Addicted Member
Re: Transparent control (or picture background)
Thank you...i'm thinking of that...but from one reason i want to do using a picture box.
So ... the question remain..
-
Feb 3rd, 2009, 09:13 AM
#4
Re: Transparent control (or picture background)
If you want to use a picturebox you will want to create a window region for the picturebox to cutout everything but the controls.
You can also use a usercontrol, place your controls in it and set the usercontrol's backstyle to transparent.
Or you can use the suggestion by some1uk03
-
Feb 5th, 2009, 05:21 AM
#5
Thread Starter
Addicted Member
Re: Transparent control (or picture background)
OK LaVolpe i understant....I want to use a picturebox and do it semi-transparent (like in image attach)
Can you post a little sample please!
Than you
-
Feb 5th, 2009, 08:26 AM
#6
Re: Transparent control (or picture background)
There is no semitransparency for controls. To fake semitransparency, you need to copy the form's background image/graphics use AlphaBlend or GDI+ APIs to render semitransparency onto the picturebox. The simplest solution was provided by some1uk03 in post #2, i.e., use a separate borderless form, place your controls on that and the SetWindowLayerAttributes API then overlay that form over your main form. This will work for Win2K & above.
-
Feb 6th, 2009, 08:31 AM
#7
Thread Starter
Addicted Member
Re: Transparent control (or picture background)
Thank you.... I will do this...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|