Back Up Next

Create New Class.

I assume you ialready have OWL ClassExpert installed in your VC 6.0 and see new OWL ClassExpert toolbar with 3 buttons: "ClassExpert", "Use Class", and  "Rescan".

  1. If you want to create new TDialog derived class you should first:

     Create new DIALOG resource with VC.

    Open ClassExpert and Rescan resources. (Press "rescan" button, 
    in lower right of ClassExpert  window.) 

  2. Press on ClassExpert button. You will get Main Dialog. Press on "Add Class" button.

  3. You will see "New Class" Dialog. Type name for your new class. In filename field you will see suggested names for *.cpp and *.h files, you can changes them if you want - Press "modify" button.

  4. In "Base class:" field you will get default sellection "GENERIC" - use this selection to create your own class, not derived from anithing. If you want your class to be derived from OWL class or your class select it from list. To see more or less choices change filters in "Type:" check box.

  5. If your base class is TDialog derived you will prompt to type DIALOG resource ID in "Dialog ID" field. 

  6. Press Ok. If your class is GENERIC. you will see Add virtual function dialog. You can add new virtual functions for your class, you can do this later eather. 

  7. .Its All :)

Revised: June 10, 2000.


Copyright © 1998-2001 Yura Bidus. All rights reserved.