COleControlSite::GetWindowText
virtual void GetWindowText(
CString& str
) const;
If the control supports the Caption stock property, this value is returned. If the Caption stock property is not supported, the value for the Text property is returned.
msdn上GetWindowText的解释,但这是一个虚函数,也就是说需要去看定义m_RichEdit的类里GetWindowText是怎么描述的,上面的问题应该在定义m_RichEdit的类里,这个类重新定义了GetWindowText这个函数,而且参数不是CString。