This method sends the specified message to this window. The SendMessage method calls the window procedure directly and does not return until that window procedure has processed the message.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
LRESULT SendMessage( UINT message, WPARAM wParam = 0, LPARAM lParam = 0 );
CWnd::PostMessage, CWnd::SendDlgItemMessage