Sign in to follow this  
Followers 0

Force update/redraw gui

4 posts in this topic

Posted (edited)

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.

Edited by Champak

Share this post


Link to post
Share on other sites



Posted

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

Share this post


Link to post
Share on other sites

Posted

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 :)

Share this post


Link to post
Share on other sites

Posted

Ah, the _WinAPI_RedrawWindow function is what I came across before and couldn't remember where/what it was. Thanks to both.

Share this post


Link to post
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
Sign in to follow this  
Followers 0