Page 1 of 1

DrawTransparentImage so if your want to draw to the desktop

Posted: Tue Jul 07, 2009 7:44 am
by scurrier
DrawTransparentImage or fix the DrawingMode so graphics can have a transparent background. This way if you want to draw on the desktop
it won't put the colored box around your pic.

and a refresh desktop without flicker somehow use a double buffer
on the desktop.or is there a way to make InvalidateRect_(0, 0, 0) flicker free.

last: if there is no way to make flicker free update/clearscreen then a get/put get a rectangle of the desktop,drawimage,put desktop back


or if any one knows a workaround that would be great

thanks
Sean

Posted: Tue Jul 07, 2009 1:08 pm
by freak
There is DrawAlphaImage() already.

And drawing directly on the desktop is a bad practice. Layered windows can achieve the same effect without messing with the desktop window.