home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18112 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!quads!chh9
  3. From: chh9@quads.uchicago.edu (Conrad Halling)
  4. Subject: Problem with AddResMenu() on PowerBook 160, System 7.1
  5. Message-ID: <1992Nov6.183503.13768@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: chh9@midway.uchicago.edu
  8. Organization: University of Chicago Computing Organizations
  9. Distribution: usa
  10. Date: Fri, 6 Nov 1992 18:35:03 GMT
  11. Lines: 25
  12.  
  13. I am adding the names of 81 resources to a menu in my program, using
  14. either AddResMenu() or InsertResMenu().  These routines sort the names
  15. before adding them to the list.
  16.  
  17. AddResMenu() and InsertResMenu() suddenly stopped working when I switched
  18. to a PowerBook 160 running System 7.1.  The names are partially but not 
  19. completely sorted.  I have experimented, reducing the number of resources 
  20. down to as low as 8, yet the names are still not sorted correctly.
  21.  
  22. This does not seem to be a problem with the sorts of resources most people
  23. use these routines for, 'DRVR' (now Apple menu items) and 'FONT'.  Of
  24. course, with these types of resources, the code must be very different
  25. since most Apple menu items are not really 'DRVR' resources and most
  26. fonts are not really 'FONT' resources.
  27.  
  28. I don't know if this is a bug with System 7.1 or in the PowerBook 160 ROMs
  29. since I don't (for the moment) have access to another Mac that is running
  30. System 7.1.
  31.  
  32. Can anyone verify this behavior?
  33.  
  34. -- 
  35. Conrad Halling
  36. c-halling@uchicago.edu
  37.  
  38.