#198 Made branch #alt_enter_fullscreen

This commit is contained in:
michaelangel007 2014-07-26 16:44:38 -07:00
parent a8e75eb9d4
commit 70504ebf9d

View File

@ -1549,6 +1549,10 @@ LRESULT CALLBACK FrameWndProc (
break;
case WM_SYSKEYDOWN:
KeybUpdateCtrlShiftStatus();
if (g_bAltKey && (wparam == VK_RETURN)) // NB. VK_RETURN = 0x0D; Normally WM_CHAR will be 0x0A but ALT key triggers as WM_SYSKEYDOWN
ScreenWindowResize(true);
else
PostMessage(window,WM_KEYDOWN,wparam,lparam);
if ((wparam == VK_F10) || (wparam == VK_MENU)) // VK_MENU == ALT Key
return 0;