When I send WM_SETREDRAW to disable redraw for a window, how do I "restore" the previous state when I'm done?
What's the proper way to send this message?
You can't restore the previous state, as there is no way to access the current state. There is no WM_GETREDRAW. Once you are done you send WM_SETREDRAW again with TRUE as an argument this time, and if anyone else had set redraw to FALSE on an outer scope then well.. that's bad for them..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With