This documentation is archived and is not being maintained.


Sends the specified message to the window.

BOOL SendNotifyMessage( 
   UINT message, 
   WPARAM wParam, 
   LPARAM lParam  


Specifies the message to be sent.


Specifies additional message-dependent information.


Specifies additional message-dependent information.

Nonzero if the function is successful; otherwise 0.

If the window was created by the calling thread, SendNotifyMessage calls the window procedure for the window and does not return until the window procedure has processed the message. If the window was created by a different thread, SendNotifyMessage passes the message to the window procedure and returns immediately; it does not wait for the window procedure to finish processing the message.

Header: afxwin.h