Здравствуйте, прересел с vc6 на vc7 Как добраться до ClassWizard'a хочу добавить с его помощью обработчик сообщения, но никак не найду...
05.05.06 13:30: Перенесено модератором из 'MFC' — SchweinDeBurg
Здравствуйте, lit-tr, Вы писали:
LT>Здравствуйте, прересел с vc6 на vc7 Как добраться до ClassWizard'a хочу добавить с его помощью обработчик сообщения, но никак не найду...
Нет такого

Если хочешь добавить обработчик сообщения для какого-либо класса, выдели его в ClassView, открой окно Properties — сверху будут кнопки Messages, Virtual Functions etc. — там можно будет добавить обработчик.
... << RSDN@Home 1.1.4 stable SR1 rev. 568>>
It is always bad to give advices, but you will be never forgiven for a good one.
Oscar Wilde
Здравствуйте, lit-tr, Вы писали:
LT>Здравствуйте, прересел с vc6 на vc7 Как добраться до ClassWizard'a хочу добавить с его помощью обработчик сообщения, но никак не найду...
Колдуна классов там как такового нет — есть правая кнопка мыши в Solution Explorer при активной вкладке Class View.

[ posted via RSDN@Home 1.1.4 stable SR1 r568, accompanied by silence ]
...если уж очень хочется:
ClassWiz: A VS.NET addin that provides a classwizard similar to that in VC++ 6.0
I wrote the classwiz addin to get a class wizard similar to that in Visual C++ 6.0 in VS.NET 2003. The main functionality which I needed was to be able to override any virtual function, not just a small set of functions in a subset of base classes which VS.NET 2003 currently allows. I felt quite odd why the functionality to override functions like that in VC#.NET is not available for VC++.NET. Luckily VC++.NET provides lot of control through automation that makes it not very difficult to implement such a feature through custom addins. ClassWiz relies heavily on VC++ code model to do its job. Currently, the addin is quite useful to automate overriding of virtual functions for any custom class. Later I want to enhance the addin to provide more functionality like overriding window messages and commands.
Ну, и на всякий случай:
A better class wizard
When you want to add a class in a C++ project using the generic class wizard, one is often annoyed by the fact that you can't provide a "default" path where the class files will be created. Most projects use separated sources, "cpp" and "h" aren't kept in the same directory as the "sln" and "vcproj" files. When you want to add many classes in a directory, you waste a lot of time because you have to click on both ".h" and ".cpp" browse buttons and select a directory. The wizard always starts in the directory where project configuration files are stored. These two browsing steps have to be performed each time you want to add a class, and the IDE doesn't store the last path used in the wizard. For the next class, you have to browse again through your hierarchy. If you have a lot of directories and deep-nested folders, this may quickly turn into a nightmare.
[ posted via RSDN@Home 1.1.4 stable SR1 r568, accompanied by silence ]