using double buffering on a layered window is waste of time. Layered window
provides a graphics device that is already attached to an in-memory bitmap
which, depending on the LayeredWindow API used, is composited to the screen
using either a global transparency or a per-pixel alpha value.
The only thing you're doing when you double buffer a layered window is to
decrease the graphics bandwidth.

Signature
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.
> Hello There,
>
[quoted text clipped - 19 lines]
>
> Özden
Özden Irmak - 09 May 2008 14:40 GMT
Hello Bob,
Actually I've noticed that layered windows are drawn different than regular
windows before. It's good to hear that LayeredWindow does already provide
something like a double buffer within it. In that case, all I've to do is
switch off double buffering of a control whenever I need to show it in a
popup.
Thank you very much...
Regards,
Özden Irmak
> using double buffering on a layered window is waste of time. Layered
> window provides a graphics device that is already attached to an in-memory
[quoted text clipped - 27 lines]
>>
>> Özden