BOOL PostMessage( UINT message, UINT wParam = 0, LONG lParam = 0 );
message
Specifies the message to be posted.
wParam
Specifies additional message information. The content of this parameter depends on the message being posted.
lParam
Specifies additional message information. The content of this parameter depends on the message being posted.
Places a message in the current CWnd object's message queue, and then returns without waiting for the corresponding window to process the message. Messages in a message queue are retrieved by calls to the GetMessage or PeekMessage Windows functions.
An application should never use the PostMessage member function to send a message to a control; it should use SendDlgItemMessage.
The Windows PostMessage function can be used to access another application.
TRUE if the message is posted; otherwise FALSE.
::GetMessage, ::PeekMessage, ::PostMessage, ::PostAppMessage, CWnd::SendMessage, CWnd::SendDlgItemMessage