Info-Mac Archive Downloads: dev/src/ SourceCode

Back to dev/src/ SourceCode

PopupMenu-Tester-100-c-src.sit.hqx (popup-menu-tester-100-c.hqx)

Download popup-menu-tester-100-c.hqx (7,155 KB)

Date: Thu, 3 Nov 1994 21:53:18 -0800
From: (Paul Celestin)
Subject: PopupMenu-Tester-100-c-src.sit.hqx

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

Content-Type: application/mac-binhex40; name="PopupMenu_Tester_1.0.0.sit"
Content-Disposition: attachment; filename="PopupMenu_Tester_1.0.0.sit"