Windows Develop Bookmark and Share   
 index > Windows Forms General > Want 2 Make Form Transparent But the Picture Visible to the Screen...
 

Want 2 Make Form Transparent But the Picture Visible to the Screen...

hello 2 all..

I want 2 mak form Transparent ...with d help of C# . NET..

& i do it By The Help Of OPACITY option...

But i also Want 2 show my Picture Or Image Visible.. So that It Will show Lik d application which we download from Crack Site Window ..

For Patches etc....

Or jst Lik d Skin Mode Of Windows Media Player ..

PraveenRockz  Wednesday, December 19, 2007 6:53 AM

Hiï¼?/span> first I will check my understanding with you ,do you want to show a control in a transparent form?

Opacity affects the form and all of its controls.

Try using the Form.Region property to set your custom shape instead of using the transparency key.

Or you can try following method,

Create a transparent control and paint its background with the background of the screen. We make the form's backcolor a unique color, make the forms transparency key property that color. In this scenario the control is opaque. We use the transparent control to imitate the seme-transparent windows.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2411227&SiteID=1

Beside theseï¼?/span> you can refer this one ,

Set a transparent form's FormBorderStyle to None and opacity to what you want. Don't place any controls on this form. You probably want a BackgroundImage. Set ShowInTaskbar to false.

Make your main form as you have it now and set the TransparencyKey to the form's Backcolor. When you run the program show your main form and the transparent form. You'll have to control the position of the forms in the resize and move events. You'll also have to control the focus. It's a challenge, but if it's really important to you it's doable.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1916765&SiteID=1

If you have any further questions, feel free to let me know.

Best Regards

Gavin

Gavin Jin - MSFT  Monday, December 24, 2007 4:07 AM

Hiï¼?/span> first I will check my understanding with you ,do you want to show a control in a transparent form?

Opacity affects the form and all of its controls.

Try using the Form.Region property to set your custom shape instead of using the transparency key.

Or you can try following method,

Create a transparent control and paint its background with the background of the screen. We make the form's backcolor a unique color, make the forms transparency key property that color. In this scenario the control is opaque. We use the transparent control to imitate the seme-transparent windows.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2411227&SiteID=1

Beside theseï¼?/span> you can refer this one ,

Set a transparent form's FormBorderStyle to None and opacity to what you want. Don't place any controls on this form. You probably want a BackgroundImage. Set ShowInTaskbar to false.

Make your main form as you have it now and set the TransparencyKey to the form's Backcolor. When you run the program show your main form and the transparent form. You'll have to control the position of the forms in the resize and move events. You'll also have to control the focus. It's a challenge, but if it's really important to you it's doable.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1916765&SiteID=1

If you have any further questions, feel free to let me know.

Best Regards

Gavin

Gavin Jin - MSFT  Monday, December 24, 2007 4:07 AM

You can use google to search for other answers

Custom Search

More Threads

• Can't load resources from satellite assembly
• why the button's BackColor is set to Trasparent but it is not really becoming transparent to forms color?
• Set window owner
• load event question
• Form Size
• Programmatically Changing Control Properties
• Working with the Clipboard() class!
• Calling ResetValue on PropertyDescriptor of ListBox.SelectedValue throws exception
• Gantt Chart
• ActiveX Control on my Form doesn't give MouseEvents or KeyEvents