Deeper Dialog 2
Volume Number: 9
Issue Number: 6
Column Tag: Getting started
Looking Deeper into the Dialog Manager 
Part II
Digging into the Modeless Code
By Dave Mark, MacTech Magazine Regular Contributing Author
Note: Source code files accompanying article are located on MacTech CD-ROM orsource code disks.
Last month, we entered the source code and created the resources for a program
called Modeless. Modeless implemented a modeless version of the dialog box used by the
Dialogger program of a few months back. As a reminder, here’s another look at
Modeless in action.
Running Modeless
Dig into your Development folder and open the folder named Modeless .
Double-click on the file named Modeless.π. Once THINK C starts up, select Run from
the Project menu to compile and run Modeless.
When Modeless runs, the My Pet Fred window will appear, showing the picture
we saved as PICT 128. Pull down the menu and verify that the first item reads About
Modeless.... Select About Modeless... from the menu and check out the About alert.
Click the OK button to dismiss the About alert.
Hold down the mouse in the File menu and verify that the S command-key
equivalent appears next to the Settings... item. Select Settings.... The Settings... modal
dialog box should appear (Figure 1).