[Interest] Handling WM_QUIT messages when no window is shown
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Thu May 7 13:51:19 CEST 2020
Il 07/05/20 11:38, Julius Bullinger ha scritto:
> How would one create a hidden, non-interactive window with Qt?
Didn't try it myself, but the idea would be
> class EventWindow : public QWindow {
> bool nativeEvent(~~~) override { ~~~ }
> };
>
> EventWindow w;
> w.create();
> // never show(), etc. this window
HTH,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200507/7d2e2f2c/attachment.bin>
More information about the Interest
mailing list