共用方式為


CMFCToolBarEditBoxButton::SetContents

Sets the text in the text box control.

virtual void SetContents(
   const CString& sContents 
);

Parameters

  • [in] sContents
    Specifies the new text to set.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart