Groups | Blog | Home
all groups > dotnet windows forms > february 2004 >

dotnet windows forms : Transparent User Control


Mike Starkey
2/5/2004 7:59:39 PM
I am trying to create a new user control. Is there anyway I can make the
control itself transparent but still display the oval I plan to draw on it?
Please help!!
Thanks, Mike

Antenna
2/6/2004 10:27:33 AM
Well, I would say, override OnPaintBackground() and don't do anything in
it, and paint your oval in OnPaint(). (Unless you're using double
buffering.)

[quoted text, click to view]
hirf-spam-me-here NO[at]SPAM gmx.at
2/6/2004 1:22:09 PM
* "Mike Starkey" <mikestarkey@hotmail.com> scripsit:
[quoted text, click to view]

<http://www.google.de/groups?ie=UTF-8&q=herfried+region+graphicspath>

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button