Jump to content

Pause and resume GUI window painting?


Recommended Posts

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?

Link to comment
Share on other sites

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 by VeryGary
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...