WM_PAINT

BlitzPlus Forums/BlitzPlus Programming/WM_PAINT

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Don't tell me that in order to draw a bitmap in a window, I have to redraw it every single time my app gets a WM_PAINT message!

That's the standard mechanism. Windows doesn't have a native control that displays a bitmap - that's custom drawing and as such, needs redoing whenever the window becomes dirty (aka receives a WM_PAINT message).