home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mcsun!ieunet!tcdcs!maths.tcd.ie!tim
- From: tim@maths.tcd.ie (Timothy Murphy)
- Subject: How can I change the menu in Think C?
- Message-ID: <1992Nov17.154800.470@maths.tcd.ie>
- Summary: Why doesn't AddResMenu() work?
- Keywords: Think_C menu
- Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
- Date: Tue, 17 Nov 1992 15:48:00 GMT
- Lines: 17
-
-
- Anyone know why Think C (v5 under System 7)
- doesn't like this?
- It compiles but bombs out.
-
- main()
- {
- MenuHandle AppleMenu;
- AppleMenu = GetMenu(1);
- AddResMenu(AppleMenu, 'DRVR');
- }
-
- --
- Timothy Murphy
- e-mail: tim@maths.tcd.ie
- tel: +353-1-2842366
- s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
-