Way to detect if window is dragged?

BlitzMax Forums/BlitzMax Programming/Way to detect if window is dragged?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

lol, I'm not looking into it right now. I just noticed it and made a note to post on the forums in case anyone had an easy solution. Meanwhile it's sitting on my to do as low priority.

The thing is, if someone moves your game window as it's playing, the game processing stops, yet time moves on in the real world, so when the game retains focus, the Fixed Rate Logic thinks tons of time has passed and catches it all up in a single frame causing a "jump" in gameplay. Of course not that many people will do this or care, but it's not ideal.

In fact a bigger related issue is that, have you noticed that if you drag a Max Window slightly off screen and back on, you get a totally corrupted window with bits of the task bar and itself repeated all over it? (try moving diagonally or in a circle!)

Anyway, what I'm gradually doing is solving a whole pooload of boring technical issues with BlitzMax and Windows generally so I can have a really solid game framework to put all future games in. Then I might also sell it to interested parties so they don't have to go through the same pain I have had to!