المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Visual C++ MFC,CDocument::SetTitle invalid



C++ Programming
07-23-2009, 12:10 PM
I have a MFC SDI project(use multiple byte) created in VC++ 2003. Now I convert it to VC+2008.
I add the SetTitle("aaa.bbb") in OpenFile function, but the title does not change.
I create a new MFC SDI project and SetTitle("aaa.bbb") in openFile function, and then the title change to be "aaa.bbb".