Refresh without erasing
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
I am working on an image editing application, and I was getting a noticeable screen flicker. Is there a way to override the WM_ERASEBACKGROUND message that gets sent during a Refresh? I have a bitmap in memory that I am copying to the screen, so erasing the background during a Refresh doen't do anything besides irritate me. I have come up with a workaround - I created my own screen painting subroutine and changed some of the Refreshes, Invalidates and InvalidateRgns to run my subroutine instead, but I still would like to know if there's some flag somewhere that you could set. To not know is bad. To not wish to know is worse.