Hi Brothers
As in topic-how to do it?
Reimplementing QApplication::event(),QApplication::winEventFilter (),installing an event filter on QAbstractEventDispatcher::instance() didn't help
Hi Brothers
As in topic-how to do it?
Reimplementing QApplication::event(),QApplication::winEventFilter (),installing an event filter on QAbstractEventDispatcher::instance() didn't help
On Windows, you would capture the WM_SYSCOMMAND windows message. If WParam == SC_KEYMENU, then ALT+SPACE has been pressed. You can then process that message yourself or allow normal processing by passing it on.
You would capture the message typically by overriding WndProc. I'm not sure if there's a Qt way of doing that.
It seems to be,this is that QApplication::winEventFilter ()
I tried that way,but I used WM_SYSKEYDOWN instead of WM_SYSCOMMAND.I gonna to check this out.
Thanks for the Brother hint fatjucymole!
Bookmarks