共用方式為


COleControlContainer::SetDlgItemText

Sets the text of the specified control, using the text contained in lpszString.

virtual void SetDlgItemText(
   int nID,
   LPCTSTR lpszString 
);

Parameters

  • nID
    The identifier of the control.

  • lpszString
    Pointer to the text of the control.

Requirements

Header: afxocc.h

See Also

Concepts

COleControlContainer Class

COleControlContainer Members

Hierarchy Chart