轉帖|其它|編輯:郝浩|2012-01-28 22:00:43.000|閱讀 595 次
概述:本文主要介紹清除BCGControlBar中的記憶功能的2種方法,希望對大家有幫助。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
1、在App中注釋掉
// LoadStdProfileSettings(4); // Load standard INI file options (including MRU)
// SetRegistryBase (_T("Settings"));
2、在MainFrame中注釋掉Onclose中的
SaveMDIState (theApp.GetRegSectionPath ());
并將原來的
CBCGPMDIFrameWnd::OnClose();
改為
CMDIFrameWnd::OnClose();
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自:網絡轉載