RE: [GD-Windows] Suspending execution
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2002-01-07 19:37:40
|
> Adding the WaitMessage like you say works great - except in > network games - but then pause is an issue anyway :-) Right =) > One other thing you may want to add is detect if you are the > foreground app and if you are not, add a Sleep(50) before the > peekmessage loop - I find this makes using debuggers or alt > tabbing much much more responsive (esp. on single processor machines). Good idea, I'll look at that. > I don't get mouse move messages all the time - maybe you have > a jittery mouse? It's an MS optical mouse, but if it was jittery, I'd expect it to show me different cursor positions. Unless the driver is sending out messages when it sees movement, even if the movement isn't large enough to warrant a new message. Brian |