Jump to content

Force update/redraw gui


Champak
 Share

Recommended Posts

  • Moderators

I came across the function before, but can't remember what/where it is. So how do I force the redraw/painting of a GUI?

Thanks.

You can try sending a SendMessage() + WM_PAINT message.

Or do something here: http://msdn.microsoft.com/en-us/library/ms534906(VS.85).aspx

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

I came across the function before, but can't remember what/where it is. So how do I force the redraw/painting of a GUI?

Thanks.

_WinAPI_RedrawWindow ($GUI) ; Also sends $WM_PAINT

GUISetBkColor(0xF0F0F0)

Both redraw the window :)

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...