|
|
Hi there !
Your problem is the system menu, I guess, which is always there for normal windows ;) It not only reacts to ALT key presses, but also on the F10 key, and on right-clicking window buttons in the taskbar. Try pressing Alt and "Arrow down" after that to see the system menu.
If you were able to change the window callback function somehow, you could try catching the key events before passing to DefWindowProc, and see if that helps.
Alternatively, you might try if there is a combination of window flags which disable the system menu (i.e. SetWindowLong or a similiar call). If I remember right though, disabling the system menu will also hide the maximize and minimize buttons of your window
On a shorter note, using DirectInput also seems to avoid the system menu somehow.
Cheers, - Wernaeh
|