Automatic message handlers [MFC]
When *not* dealing with a dialog, you normally use the "begin_message_map" etc macros, and have the fill in each message manually, which includes writing a definition and function.
If I remember correctly, Visual C++ 6 had a wizard to include these messages automatically, and create an empty member function in the current class - you just had to select which message you wanted. VC++ 2003 seemed to no longer have this feature.
Does the 2005 version have anything for automating this task, or are there any third party tools for doing something similar?
[567 byte] By [
Scoob] at [2007-12-16]
Probably i haven't undestood well (English is not my native language

) but you are asking about Class Wizard?
If I'm right Class Wizard in not more present on Visual C++ 2003 nor on Visual C++ 2005. To use e similar task with this compilers you need to use the "Property Pane". If you activate it when the source pane is visualizing a class, you have the possibility to see: Events, Messages and Overrides availables to that class.
If you select one of them you can also have a deailed pane with all the events, ecc and the possibility to define your own class member.
The wizard generate also declarations and stub code..
Have a nice day
Roberto Guerzoni