共用方式為


CWindow::SendNotifyMessage

Sends a message to the window.

BOOL SendNotifyMessage(
   UINT message,
   WPARAM wParam = 0,
   LPARAM lParam = 0 
) throw();

Remarks

See SendNotifyMessage in the Windows SDK.

If the window was created by the calling thread, SendNotifyMessage does not return until the window procedure has processed the message. Otherwise, it returns immediately.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::SendMessage

CWindow::SendMessageToDescendants

CWindow::PostMessage

Other Resources

CWindow Members