mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-13 10:30:37 +00:00
#198 Made branch #alt_enter_fullscreen
This commit is contained in:
parent
a8e75eb9d4
commit
70504ebf9d
@ -1549,6 +1549,10 @@ LRESULT CALLBACK FrameWndProc (
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_SYSKEYDOWN:
|
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);
|
PostMessage(window,WM_KEYDOWN,wparam,lparam);
|
||||||
if ((wparam == VK_F10) || (wparam == VK_MENU)) // VK_MENU == ALT Key
|
if ((wparam == VK_F10) || (wparam == VK_MENU)) // VK_MENU == ALT Key
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user