Gallery-supplied automation and the Class Wizard

Gallery-supplied automation and the Class Wizard

Post by Philip Donne » Thu, 17 Oct 1996 04:00:00



I have been recently actively automating my MFC based utilities, using MSVC
4.0. With the correct Wizard options checked during application generation
I am able to add automation support for the application and the macros
which enable automation and property / method generation by using the Class
Wizard on the document class.

Other CCmdTarget derived classes are also ready to respond, since they have
built in support for dispatching. However, they don't enable property or
method wizardry in the Class Wizard.

The component gallery contains an element which generates automation macros
and IIDs. But this doesn't either enable property nor method generation for
existing classes by using the Class Wizard. Everything should obviously be
done by hand.

Does anybody know how to overcome this problem?

- One way would be to generate totally new classes. This enables
method/property support in the Class Wizard, but this doesn't really seem
practical enough.

 
 
 

1. Gallery-supplied automation and the Class Wizard

I have been recently actively automating my MFC based utilities, using MSVC
4.0. With the correct Wizard options checked during application generation
I am able to add automation support for the application and the macros
which enable automation and property / method generation by using the Class
Wizard on the document class.

Other CCmdTarget derived classes are also ready to respond, since they have
built in support for dispatching. However, they don't enable property or
method wizardry in the Class Wizard.

The component gallery contains an element which generates automation macros
and IIDs. But this doesn't either enable property nor method generation for
existing classes by using the Class Wizard. Everything should obviously be
done by hand.

Does anybody know how to overcome this problem?

- One way would be to generate totally new classes. This enables
method/property support in the Class Wizard, but this doesn't really seem
practical enough.


2. virus

3. Use Class Wizard on app developed without Class Wizard

4. Imported Bookmarks

5. Class Wizard and OLE Automation

6. GSM Card installation in Tablet PC Edition of Win XP

7. Use class wizard to derive a new class from a present class?

8. Database

9. Q:customizing class wizard (creating new classes from ODBC src)

10. help deleting classes from class wizard?

11. Adding a company standard comment file to class wizard/app wizard generated files

12. Class Wizard doesn't find classes?

13. Class Wizard and class libraries queries