◄CWnd► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL PostMessage( UINT message, UINT wParam = 0, LONG lParam = 0 ); Parameter Description <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 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. Return Value TRUE if the message is posted; otherwise FALSE. See Also ◄::GetMessage►, ◄::PeekMessage►, ◄::PostMessage►, ◄::PostAppMessage►, ◄CWnd::SendMessage►, ◄CWnd::SendDlgItemMessage► -♦-