::PostMessage in Qt !
I have to convert C++ win32 API to , Qt DLL.
In doing this, i struked in using **::PostMessage ** funictionality in Qt.
Could anyone please let me know,
How can i use, ::PostMessage funtionality in Qt ?
The other solution is to use QTimer::singleShot, you can use with the
0, which you would have the same functionality.
And one similar to
QTimerbut passing arguments, you could use QMetaObject::invokeMethod with
Qt::DirectConnectionwould execute the method immediately, whilst
Qt::QueuedConnectionwould queue in the event loop.
Thank you for the reply, I will try as you mentioned above.
and back to you.
@Velab You are welcome. Good luck.