exaplaination of SendMessage in MFC & its equivalent in Qt

Hi Guys,
I am porting some files from existing VC++ project into qt and there I have seen sendmessage function
example :
SendMessage( dialog_->m_hWnd, WM_MULTIBOXMESSAGE, 0, 0 );
where
WM_MULTIBOXMESSAGE
is just a #defined variable declared in some files it is Used to define private messages for use by private window classes, usually of the form WM_USER+x, where x is an integer value. so here it is WM_MULTIBOXMESSAGES WM_USER+ 1. I am wondering what exactly
SendMessage in MFC
means. and also if there is any equivalent in in Qt.
I have searched a lot in google but I really could not able to understand its usage . SO could you guys please explain it to me in Layman’s language. Thanks
If you intend on using the application only on windows, use SendMessage() as usual.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms644950%28v=vs.85%29.aspx


If you do, you will need to get native control handle from Qt framework and pass that HWND to SendMessage.
http://stackoverflow.com/questions/14048565/get-hwnd-on-windows-with-qt5-from-wid


However, I think you need to understand how winapi and Qt works, as you posted the same question on StackOvereflow and Qt forums already.
Topic archived. No new replies allowed.