C++ (Qt)if (msg->message == WM_MOUSEACTIVATE) *result = MA_NOACTIVATE;
C++ (Qt)action->setShortcutContext(Qt::ApplicationShortcut);