The only way to do the inverted colours is to use GDI by interop. GDI+
doesn't support it.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com 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.
[quoted text, click to view] Stefan Uhlemann wrote:
> Hi,
>
> how can i realize splitters like in Outlook 2007? (Inverted Colors of its
> background)
> I tried to draw directly to screen Screen hDC with BitBlt or
> Graphics.DrawImage and inverting its colors.
> It works - but flickers and is very hard to handle (mouse positions, much
> code etc.)
> There must be an easier way... (inherit splitter of framework 2.0 for
> example)
>
> Thanks
>
> Stefan
>