Re: mfc class wizard problem on visual studio 2005
The complicated IDE has always been easily broken :)
Sometimes, closing VS, deleting ALL intermediate files, deleting the
Intellisense database, and rebuilding the project/solution will fix it.
I personally find I have to do this way less often than I did in VS2003.
And VC6, I always had problems with the classwizard so I never used it.
Anywaym I'm glad you got it working.
Mark
--
Mark Salsbery
Microsoft MVP - Visual C++
"Bin Tian" <tianbin@cernet.edu.cn> wrote in message
news:eIvNg0k$HHA.1208@TK2MSFTNGP05.phx.gbl...
Hi,
Fortunately, I found it workded today. I can add command handler in the
property window. I have a lot of classes in my project and most of them
support automation. I did do some modification by hand, but I have no
idea about what happened. Maybe the complicated IDE is too easy to be
broken.
Thanks to all
Bin Tian
Mark Salsbery [MVP] wrote:
I understand the missing class wizard so I'm not defending Microsoft's
decisions here, BUT
For your specific example, this works for me. I just tried it again to
make
sure, but I also have legacy classes in an MFC extension DLL that I
derive
from and it works with those as well.
There's no class wizard, but using the combination of the class view
window
and the properties window, I can click on the class in the class view
window. The context of the properties window changes to that class and I
can click on the overrides button and add methods by clicking in the
list.
I just tested with a CTestDocDerived class derived from a TestDocBase
class
derived from CDocument. It works fine. Note that the messages tab in
the
properties window is blank because documents aren't windows.
Mark