CWnd::PostMessage
BOOLPostMessage(UINTmessage**,WPARAMwParam=0,LPARAMlParam=0);**
Return Value
Nonzero if the message is posted; otherwise 0.
Parameters
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.
Remarks
Places a message in the window’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 or Windows function.
The Windows function can be used to access another application.
Example
See the example for AfxGetMainWnd.
CWnd Overview | Class Members | Hierarchy Chart
See Also , , , , CWnd::SendMessage