![]() |
How to appoint class base for a new classDefault base classBy default,the class of top window of class application window becomes a base class for a new class. The application builder generates the following c++ source codes. [classwin] is name of the class application window.
![]() [Definition of class application window] A sample "class1" of class application window in the figure derive from WSCwork window whick is a top window of it and becomes a c++ class "class1". Top window is used as base class by default,and you can appoint other base class with [Attributes] section on the inspector. How to appoint a base class for a new classFor exsample, a part of class application window, "cla_form000" a form, I appoint it as a base class here. By default,it use top window as base class,but if some instance on the class application window is appointed, it becomes a base class.(Notice) It is required that re-generating source code, if you change the base class. Delete the following file even if edited. [classwin] is name of class application window.
![]() [Appointment of base class] In this case, a new class:"class1" is created from the instance:"cla_form000" which is appointed as base class. So, the class:"class1" inherits WSCform. If there are children on the instance for the base class, they are included together in the new class. Document Release 3.0 For Use with Wide Studio Release 3.0, Summer 2002
|