CWnd::SendMessage

Call this member function to send 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.

Syntax

LRESULT SendMessage( UINT message, WPARAM wParam = 0, LPARAM lParam = 0 );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::PostMessage, CWnd::SendDlgItemMessage