Important: The information in this document is obsolete and should not be used for new development.
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.
- from a window resource (a resource of type
'WIND'), with theGetNewCWindowandGetNewWindowfunctions- from a collection of window characteristics passed as parameters to the
NewCWindowandNewWindowfunctions
All four functions,
GetNewCWindow, GetNewWindow, NewCWindow,andNewWindow, 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