DrawTransparentImage so if your want to draw to the desktop

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
scurrier
Enthusiast
Enthusiast
Posts: 169
Joined: Sat May 03, 2003 4:10 am

DrawTransparentImage so if your want to draw to the desktop

Post 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
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post 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.
quidquid Latine dictum sit altum videtur
Post Reply