Create a transient class
When defining the project resource, a design class and a window name have been defined in the project specification. In order to design a project window, the GUI class referenced in the project resource has to be selected in the class tree of the Designer . When the design class does not yet exist, a new design class has to be created by selecting Insert in the class tree context menu.
|
|
Now, an Insert Item dialog pops up allowing to create a new GUI class ( ADK_Class ), window or control. In order to create a new GUI class, the class name has to be entered in the key name field and ADK_Class has to be selected in the region list below.
In order to create a window or control for the selected class, select Insert from the context menu again, enter the window or control name in the Insert Item dialog that has been popped up and chose the appropriate region ( Windows or Controls ).
Instead of creating windows and menus one by one, the class might be initialized using predefined design patterns as being described in the following chapter..