Re: [GD-Windows] Input thread
Brought to you by:
vexxed72
From: Pierre T. <p.t...@wa...> - 2003-06-05 19:49:53
|
> Windows messages can be lost if your window lose the focus. You should > handle the WM_ACTIVATE message: if your window lose the focus you should > stop every activity in your program (so in your example send a stop event to > the character) > A program is losing focus for example if you are using Alt+Tab to switch > between tasks. Well, I already handle WM_SETFOCUS & WM_KILLFOCUS. That's pretty much mandatory with GetAsyncKeyState ... Pierre |