
Exercises
A Full-Screen application
Make an application which takes up the full screen and which has two children side-by-side, one taking up one-third of the application's width, and one taking up two-thirds (see FIGURE 5.29).

FIGURE 5.29 : Application with two justified children.
Test the application while the screen is rotated and verify that the application and its child views are wider.
Note:
In order for your application to run in rotated mode, you'll need to add to your application base template a ReOrientToScreen
slot with the contents ROM_DefRotateFunc
(for more information on ReOrientToScreen
, see "ReOrientToScreen()" on page 152).
A QuickTime movie of the solution is available, as is the completed project for different platforms (Mac OS, Windows 3.1 or Windows 95/NT).
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996