Download popup-menu-tester-100-c.hqx (7,155 KB)
Date: Thu, 3 Nov 1994 21:53:18 -0800
From: celestin@olympus.net (Paul Celestin)
Subject: PopupMenu-Tester-100-c-src.sit.hqx
--========================_22825486==_
Content-Type: text/plain; charset="us-ascii"
I offer the following piece of code, which I hacked together tonight, in
order to get a better understanding of System 7 PopupMenus. It basically
displays a movable modal dialog with one popup menu and one button.
Selecting an item from the popup menu changes the title of the dialog to
echo that item. Clicking the Quit button exits the program. It's a
CodeWarrior project in C. Simple stuff, but maybe some people will find it
useful.
--========================_22825486==_
Content-Type: application/mac-binhex40; name="PopupMenu_Tester_1.0.0.sit"
Content-Disposition: attachment; filename="PopupMenu_Tester_1.0.0.sit"