當前位置:成語大全網 - 成語詞典 - 誰幫我看看這個有什麽問題 MFC 基於對話框 摘自垃圾的編程全能詞典 有圖

誰幫我看看這個有什麽問題 MFC 基於對話框 摘自垃圾的編程全能詞典 有圖

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。