共用方式為


CWindow::SendDlgItemMessage

Sends a message to a control.

LRESULT SendDlgItemMessage(
   int nID,
   UINT message,
   WPARAM wParam = 0,
   LPARAM lParam = 0 
) throw();

Remarks

See SendDlgItemMessage in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::SendMessage

Other Resources

CWindow Members