Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Toolkit User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

20.2 ActiveHost Classes

20.2.1 SECScriptHostDoc

The SECScriptHostView is a powerful CFormView-derived class that:

For example, SECScriptHostDoc implements the ability to toggle between edit and run mode, to create and delete script items, to handle ActiveScript error notifications, and to create, destroy, and serialize forms and their contents. You can pass an SECScriptHostDoc directly into your doc-template instantiation or you can derive your own document class from it and customize its behavior.

20.2.2 SECScriptHostView

The SECScriptHostView is a powerful form view that is derived from CFormView. It can:

The SECScriptHostView can be passed directly into your doc-template instantiation or you can derive your own view class from it and customize its behavior.

20.2.3 SECAFloatDocTemplate

This class helps you create new forms that support dynamic form creation. Use this class in conjunction with SECScriptHostDoc, SECScriptHostView, and SECADlgFrame to support scriptable frame creation. When the script executes a NewForm() or OpenForm() function, the SECAAppObj responds by instructing the SECAFloatDocTemplate to create a new form. The forms created by the SECAFloatDocTemplate object are usually SECADlgFrame-derived classes.

20.2.4 SECADlgFrame

This frame implements a simple SDI top-level frame that ActiveScript scripts can use during dynamic form creation. The SECAFloatDocTemplate object instantiates a frame of this type whenever the script creates a new form via the OpenForm(), NewForm(), and FormByName() commands.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.