Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

VB.NET

 

How do I make a picturebox's background be truly transparent. So that there is no background over any control. I have attached a picture to demonstrate my problem.

 

The white box in the picture is a picture box. I want the zoom and menus at the top to have transparent backgrounds, not have them simply be the same as the form's background. So that over the white picturebox, that part of the menu icon(picbox I want transparent) will be white instead of the form's background.

 

If any one has any suggestions, please let me know.

 

Kevin Heeney

  • *Gurus*
Posted

Windows just doesn't support truly transparent (or translucent) controls, only top-level windows.

 

For an interface like this, you should be doing all the drawing yourself in the form's Paint event, anyway - using controls for all the UI elements is a little wasteful and as you have discovered, quite restrictive graphically.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...