共用方式為


COleControlContainer::SendDlgItemMessage

Sends a message to the specified control.

virtual LRESULT SendDlgItemMessage(
   int nID,
   UINT message,
   WPARAM wParam,
   LPARAM lParam 
);

Parameters

  • nID
    Specifies the identifier of the control that receives the message.

  • message
    Specifies the message to be sent.

  • wParam
    Specifies additional message-specific information.

  • lParam
    Specifies additional message-specific information.

Requirements

Header: afxocc.h

See Also

Concepts

COleControlContainer Class

COleControlContainer Members

Hierarchy Chart