CWindow::SendMessage

This method sends a message to the window and does not return until the window procedure has processed the message.

Syntax

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

At a Glance

Header file: Atlwin.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CWindow Overview, CWindow Methods, CWindow::PostMessage, CWindow::SendNotifyMessage