LRESULT SendMessage( UINT message, WPARAM wParam = 0, LPARAM lParam = 0 );
Return Value
The result of the message processing; its value depends on the message sent.
Parameters
message
Specifies the message to be sent.
wParam
Specifies additional message-dependent information.
lParam
Specifies additional message-dependent information.
Remarks
Sends the specified message to this window. The SendMessage member function calls the window procedure directly and does not return until that window procedure has processed the message. This is in contrast to the PostMessage member function, which places the message into the window’s message queue and returns immediately.
CWnd Overview | Class Members | Hierarchy Chart
See Also ::InSendMessage, CWnd::PostMessage, CWnd::SendDlgItemMessage, ::SendMessage