Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 4 - Window Manager / Window Manager Reference
Window Manager Routines


Creating Windows

You can create windows in two ways:

Creating windows from resources allows you to localize your application for different languages and to change the characteristics of your windows during application development by changing only the window resources.

All four functions, GetNewCWindow, GetNewWindow, NewCWindow, and NewWindow, can allocate space in your application's heap for the new window's window record. For more control over memory use, you can allocate the space yourself and pass a pointer when creating a window. In either case, the Window Manager fills in the data structure and returns a pointer to it.


Subtopics
GetNewCWindow
GetNewWindow
NewCWindow
NewWindow

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996