You can install a native message event filter function at the application level with QAbstractEventDispatcher::instance()->setEventFilter()
(see the documentation).
Getting QWidget's Windows messages without subclassing it and reimplementing QWidget::winEvent
-
21-04-2022 - |
質問
Is it possible to intercept QWidget
's Win messages without reimplementing QWidget::winEvent? Is there something like installEventFilter
but for Windows native messages?
解決
所属していません StackOverflow