Commit 0f7ed239 authored by cutealien's avatar cutealien

Ignore WM_SYSCOMMAND - SC_KEYMENU as it didn't actually show the menu anyway,...

Ignore WM_SYSCOMMAND - SC_KEYMENU as it didn't actually show the menu anyway, so having ALT and F10 key back under Irrlicht control is probably the better solution for now.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3298 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 4c58865f
...@@ -447,8 +447,11 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) ...@@ -447,8 +447,11 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
case WM_SYSCOMMAND: case WM_SYSCOMMAND:
// prevent screensaver or monitor powersave mode from starting // prevent screensaver or monitor powersave mode from starting
if ((wParam & 0xFFF0) == SC_SCREENSAVE || if ((wParam & 0xFFF0) == SC_SCREENSAVE ||
(wParam & 0xFFF0) == SC_MONITORPOWER) (wParam & 0xFFF0) == SC_MONITORPOWER ||
(wParam & 0xFFF0) == SC_KEYMENU
)
return 0; return 0;
break; break;
case WM_ACTIVATE: case WM_ACTIVATE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment