Transparent Control (Bob Powell's sample) and ZOrder problem?

  • Thread starter Thread starter Özden Irmak
  • Start date Start date
Ö

Özden Irmak

Hi,

I created a transparent control using Bob Powell's transparent control
sample. I'm hosting this control in a designer and BringToFront/SendToBack
does not have any effect in this control until the user moves/resizes the
control.I tried many ways including refresh, invalidate, move the control
and also refresh/invalidate it's parent.I would be glad if anybody could
help me (Especially Bob)?

Regards,

Özden
 
My example calls it's InvalidateEx method in one particular place.
Effectively you'd have to call InvalidateEx in every place that changed the
control.

I can see a need to update my samples. I will do this ASAP so subscribe to
my RSS feeds below to stay informed.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
 
Back
Top