WS_SYSMENU and the ALT KEY!

Started by
1 comment, last by thekiwimaddog 14 years ago
Hi everyone, I'm working on a game and when in windowed mode whenever the Alt key is pressed the game stops as it's selected the System Menu Thing as the top left of the window. I've been trying to find another style that dosen't have the System menu but does have the close button but can't find one. Does anyone have any advice or another way to stop Alt from taking focus away from the game?? Many Thanks David
Advertisement
Try returning 0 when you get a WM_SYSKEYDOWN with a wParam of VK_MENU.
Perfect!
Thank You!

David

This topic is closed to new replies.

Advertisement