VeryGary Posted June 29, 2016 Posted June 29, 2016 So, I seem to remember reading years ago there was a way to suspend the painting of GUI updates and resume it, so you had time to do all your changes and make them appear all at once... Searching is giving me a headache. Any ideas?
Mbee Posted June 29, 2016 Posted June 29, 2016 You may be recalling passing _WinAPI_RedrawWindow() with the flag $RDW_NOINTERNALPAINT. Just a guess...
VeryGary Posted June 29, 2016 Author Posted June 29, 2016 (edited) Actually it was _SendMessage($form, $WM_SETREDRAW, False/True, 0) followed by _WinAPI_RedrawWindow ($form, $tRect, 0, BitOR( $RDW_FRAME, $RDW_INVALIDATE, $RDW_ALLCHILDREN)) for the updated $tagRect. I got it sorted this morning. Thanks. No more flickering controls, and they paint more or less all at once. Edited June 29, 2016 by VeryGary
Mbee Posted June 30, 2016 Posted June 30, 2016 Glad you got it solved. I learned something from you, too.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now