Important: The information in this document is obsolete and should not be used for new development.
Chapter 18 -
This chapter describes MacApp's support for creating and using windows in your application. It also includes recipes and sample code that demonstrate how to
Working With Windows
For additional information on windows and views, see Chapter 8, "Displaying, Manipulating, and Printing Data," and Chapter 17, "Working With Views."
- create a window from a
'View'
resource- define and use a floating window
Chapter Contents
- Overview
- Floating Windows
- Using Window Manager Routines
- Defining a Window With a 'View' Resource
- Creating Windows
- Recipes--Windows
- Recipe--Creating a Window From a View Resource
- Define a Resource ID Constant for the 'View' Resource
- Define the 'View' Resource for the Window
- Create a Window From the 'View' Resource
- Recipe--Defining and Using a Floating Window
- Include MacApp's FloatWindow.r File Into Your Resource File
- Call the InitUFloatWindow Initialization Method
- Base Your Floating Windows on the TFloatWindow Class
- Define a Resource ID for the 'View' Resource
- Use the 'fwnd' Resource Type to Define a Floating Window Resource
- Call NewTemplateWindow to Create a Floating Window