COleControlSite::GetWindowText

检索控件中的当前文本。

virtual void GetWindowText( 
   CString& str  
) const;

参数

  • str
    对包含该控件的当前文本的 CString 对象的引用。

备注

如果控件支持声明股票属性,此值返回。 如果描述常用属性不受支持,文本属性的值返回。

要求

Header: afxocc.h

请参见

参考

COleControlSite Class

层次结构图