Added option to disable menu keys under Windows
Former-commit-id: a596eb7ab2a24a7246d0bf08eeb00a3d746639d8
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user