SFML community forums
General => Feature requests => Topic started by: nitram_cero on December 15, 2008, 04:57:57 am
-
Releasing Left-Alt key in windowed mode looses focus.
I think it has to do with the application icon's default menu in Windows (you know: Restore, Move, Minimize, Maximize & Close, that menu)
Regards
-Martín
-
It's the default behaviour of the OS for every window, I understand it can be annoying but I can't help much.
I'll check if there's any way to control this behaviour, though.
-
Possibly a solution:
http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms646360(VS.85).aspx
return 0 on a "WM_SYSKEYUP/DOWN" or "WM_SYSCOMMAND with wParam==SC_KEYMENU" message. This tells windows that you processed it.
I'll give it a try when I have less work to do.
Regards
-Martín
-
Does someone find solution to this? Because this cause great problem to me.