home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20794 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
  3. From: d88-jwa@dront.nada.kth.se (Jon WΣtte)
  4. Subject: Re: Menus from 2 resource files?
  5. Message-ID: <1993Jan6.144720.28740@kth.se>
  6. Keywords: menus resources furry bunnies
  7. Sender: usenet@kth.se (Usenet)
  8. Nntp-Posting-Host: dront.nada.kth.se
  9. Organization: Royal Institute of Technology, Stockholm, Sweden
  10. References: <1993Jan6.010519.10559@midway.uchicago.edu>
  11. Date: Wed, 6 Jan 1993 14:47:20 GMT
  12. Lines: 17
  13.  
  14. In <1993Jan6.010519.10559@midway.uchicago.edu> ajr3@quads.uchicago.edu (Alain Roy) writes:
  15.  
  16. >user can add or delete from the menu. of course, i wish to have the changes
  17. >last between sessions, so after i got it working, i saved the menu in 
  18. >the preferences file. now the menu refuses to show up when i add it
  19.  
  20. The menu structure in memory is NOT the same as that in a resource.
  21. Instead, you should always have an empty menu, and save a representation
  22. of its contents, and create it using InsertItem() for each item.
  23.  
  24. Cheers,
  25.  
  26.                             / h+
  27. -- 
  28.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  29.  
  30.    Cookie Jar: Vanilla Yoghurt with Crushed Oreos.
  31.