CWnd::SendMessage

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.

At a Glance

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

Syntax

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

See Also

CWnd::PostMessage, CWnd::SendDlgItemMessage