Posted on 2007-01-17 13:27
daiybh 閱讀(2776)
評論(0) 編輯 收藏 引用 所屬分類:
mfc
在mfc中使用工具欄里的RichEdit 控件時,應該在程序初始話時加入
AfxInitRichEdit,或者
AfxInitRichEdit2
否則的話 程序會起不來.也沒有任何錯誤信息.
這倆函數 是加載 Riched20.dll(Riched32.dll
)的.
----------------------------------------------------------------
具體查閱
微軟中文(機器自動翻譯的)
AfxInitRichEdit2
http://msdn.microsoft.com/library/en-us/vclib/html/vclrfafxinitrichedit2.asp