Guidelines
- Derive your presenter class from TGUIPresenter.
- Be sure to implement a constructor that takes a TGUIBundle argument.
- Override HandleCreateMainView so that it fetches the main view from the Taligent UI Builder archive, uses the TGUIBundle passed in by the presenter's constructor to set the main view's GUI bundle, and returns the main view.
- Use DynamicCastDeclarationsMacro in your presenter class declaration and DynamicCastDefinitionsMacroOne in your presenter class definition (see the sidebar, "Dynamic cast macros").
- Use the TGUIModelPresenterStationeryFor class template to create a static instance of a stationery class that binds your model to the presenter you've created.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker