Added option to disable menu keys under Windows

Former-commit-id: a596eb7ab2a24a7246d0bf08eeb00a3d746639d8
This commit is contained in:
Lynix
2013-08-03 00:20:48 +02:00
parent 4b783f6f6f
commit c358e5ab6d
2 changed files with 9 additions and 0 deletions

View File

@@ -960,6 +960,12 @@ bool NzWindowImpl::HandleMessage(HWND window, UINT message, WPARAM wParam, LPARA
}
}
#if NAZARA_UTILITY_WINDOWS_DISABLE_MENU_KEYS
// http://msdn.microsoft.com/en-us/library/windows/desktop/ms646360(v=vs.85).aspx
if (message == WM_SYSCOMMAND && wParam == SC_KEYMENU)
return true;
#endif
return false;
}