PopupMenu-Tester-100-c-src.sit.hqx

Source in C, Pascal, etc. Note: apps that come with source should be included here as well as the appropriate software directory.
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
PopupMenu-Tester-100-c-src.sit.hqx

Post by Info-Mac » November 4th, 1994, 11:00 am

Download: http://archive.info-mac.org/dev/src/pop ... -100-c.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"
Post Reply