PC Review


Reply
Thread Tools Rate Thread

C# Irregular shaped user controls.

 
 
dr
Guest
Posts: n/a
 
      26th Feb 2007
C# Irregular shaped user controls.

How to make usercontrol have transparency key for its background image? I
want to have irregular shaped user controls on my form. like a funny shaped
button. This works fine for irregular shaped forms becuase they have a
transparency key field, but user controls dont have this field. note i do
not want to see the desktop. I want to see any other controls or form behind
the irregularly shaped user control. And i want it to remain looking ok when
i resize the irregularly shaped user control.


 
Reply With Quote
 
 
 
 
Michael C
Guest
Posts: n/a
 
      26th Feb 2007
"dr" <(E-Mail Removed)> wrote in message
news:u$(E-Mail Removed)...
> C# Irregular shaped user controls.
>
> How to make usercontrol have transparency key for its background image? I
> want to have irregular shaped user controls on my form. like a funny
> shaped button. This works fine for irregular shaped forms becuase they
> have a transparency key field, but user controls dont have this field.
> note i do not want to see the desktop. I want to see any other controls or
> form behind the irregularly shaped user control. And i want it to remain
> looking ok when i resize the irregularly shaped user control.


Have a look into UserControl.Region.
>
>



 
Reply With Quote
 
Michael C
Guest
Posts: n/a
 
      26th Feb 2007
Please don't


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# Irregular shaped user controls. dr Microsoft Dot NET Framework 1 26th Feb 2007 06:16 AM
C# Irregular shaped user controls. dr Microsoft Dot NET 0 26th Feb 2007 02:29 AM
Irregular-shaped dialog Hin Microsoft C# .NET 1 17th Jan 2005 03:03 PM
Re: Irregular shaped forms and sliding Bob Powell [MVP] Microsoft Dot NET Framework Forms 0 24th Jun 2004 12:08 AM
Re: Irregular shaped forms and sliding Herfried K. Wagner [MVP] Microsoft Dot NET Framework Forms 1 23rd Jun 2004 05:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:40 AM.