Apple II
Sample Code Notes
_____________________________________________________________________________
                                                  Developer Technical Support

#5:    Custom.Window

Version:    3.0                                                     June 1990

APW Components:    CWND.asm
                   CWND.Inits.asm
                   RR.WND.asm1
                   RR.WND.asm2
                   Full.Build
                   Build
                   Build.Macros 

MPW Components:    CWND.Aii
                   CWND.Inits.Aii
                   RR.Window.Aii
                   MakeFile

This assembly-language sample program generates two custom roundRect windows 
along with a standard window.  To illustrate how to specify different window 
attributes in source code, DTS designed the first window without a close box 
and does not allow it to be dragged.
_____________________________________________________________________________

The sample program also demonstrates how to use NULL events to maintain a 
clock in the menu bar.  Three Window Manager calls new to the Apple IIGS 
System Disk 3.2 are used in the demo as well:  AlertWindow, StartFrameDrawing, 
and EndFrameDrawing.  Several TaskMaster features are implemented in the 
definition procedures (DefProcs).  Frame grow boxes and scroll bars are not 
supported in this version of the Custom.Window demo.

APW users need APW v.1.0, APW Tools & Interfaces v.1.1, and Apple IIGS System 
Software 5.0.2 or later.  Three APW command files, Full.Build, Build, and 
Build.Macros allow you to perform complete or partial rebuilds of the load 
file Custom.Window.

MPW IIGS users need MPW v.3.0, MPW IIGS Tools v.1.1, and MPW IIGS Assembler 
v.1.0 or later.  The name needed by the MPW Build menu's Build option can be 
found in the MakeFile.
