Windows stop updating if they're dragged

BlitzMax Forums/BlitzMax Beginners Area/Windows stop updating if they're dragged

jp22(Posted 2009) [#1]
Hi,

I've a problem where, if I drag a window around the screen, the processing of the window stops. This causes the graphics within the window to get distorted. When I release the mouse button to stop dragging, the window is updated again (processing continues) as expected.

Is there a method I'm missing out on that allows a window to continue to update when it's getting dragged around the screen?

Thanks!


CS_TBL(Posted 2009) [#2]
Use an eventhooked timer which triggers screen updates.


ImaginaryHuman(Posted 2009) [#3]
You can do it with MaxGUI, if I remember rightly, by setting up your own gadgets instead of using the default/native gadgets.


jp22(Posted 2009) [#4]
Thanks for the help

I've since did a quick google search for eventhook...

If anyone else has a similar problem, this link may be of help to them too:

http://www.2dgamecreators.com/maxgui/T15-Eventhooks.html


Thanks again,