[Qt-interest] How to ues a method in Win32 and MFC

enjoywm at cs.wm.edu enjoywm at cs.wm.edu
Tue Sep 7 22:14:05 CEST 2010


Hi,
The following method works in win32 app. and microsoft MFC app.

I would like to know how to use it in Qt.

This method associates a message to a specific window. Afterward, any
events received by the application in the singular form of a WM_RECOEVENT
message will be sent to the window pointed to by hWnd.

HRESULT SetNotifyWindowMessage(
   HWND     hWnd,
   UINT     Msg,
   WPARAM   wParam,
   LPARAM   lParam
);


hWnd
[in] Handle to the window whose message handler function will receive SAPI
notifications.
Msg
[in] Message number which will be passed into the message handler function
of the window hWnd.

Thank you in advance!

Yixun




More information about the Qt-interest-old mailing list