Important: The information in this document is obsolete and should not be used for new development.
Chapter 11 -
This chapter includes recipes and sample code that demonstrate how to
Working With Applications
MacApp's initialization and launching process is described in detail in Chapter 4, "Launching and Terminating an Application."
- define a subclass of
TApplication
- create a simple
main
routine that launches an application- create a
main
routine that launches an application with a startup screen
The macros used as part of MacApp's mechanism to provide runtime type information (RTTI) are described in Chapter 2, "Basic Operations."
For information on applications that support PowerTalk mailers, see Chapter 29, "Working With PowerTalk Mailers."
Chapter Contents
- Overview
- Recipes--Applications
- Recipe--Defining a Subclass of TApplication
- Provide a Class Definition
- Provide Constructor and Destructor Methods
- Provide an Initialization Method
- Override the DoMakeDocument Method
- Recipe--Launching a Simple Application
- Define a Subclass of TApplication
- Create a Main Routine
- Recipe--Launching an Application With a Startup Screen
- Create a Specialized Main Routine
- Create a Routine to Display a Startup Screen