DrawReversibleLine is horrible because it draws on the desktop. If you can
do an alpha-blended selection as is recommended by GDI+ you also have much
better control over the clipping region.

Signature
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
> How do you retrieve the visible clipping region for a control?
>
[quoted text clipped - 11 lines]
>
> Anyone have any pointers on how to do what I want in .Net?
Julie - 15 Apr 2005 21:57 GMT
> DrawReversibleLine is horrible because it draws on the desktop. If you can
> do an alpha-blended selection as is recommended by GDI+ you also have much
> better control over the clipping region.
I ended up just disassembling DrawReversibleLine and (re)implementing the same
technique, drawing to the control's graphics port instead. Works as needed.