Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!husc6!endor!singer From: singer@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: Menu Manager Bug...? Keywords: "feature" Message-ID: <5015@husc6.harvard.edu> Date: 24 Jul 88 18:14:53 GMT References: <5005@husc6.harvard.edu> <9482@dartvax.Dartmouth.EDU> Sender: news@husc6.harvard.edu Reply-To: singer@endor.UUCP (Rich Siegel) Organization: Symantec/THINK Technologies, Bedford, MA Lines: 35 In article <9482@dartvax.Dartmouth.EDU> earleh@eleazar.dartmouth.edu (Earle R. Horton) writes: >This is actually a fairly common situation, as in the case of any >program which uses a menu to switch between named document windows. >It happens in MicroSoft Word 3.02, and probably in all Macintosh >applications which have a menu consisting of window or file names >which could start with '-'. It happens in MultiFinder's menu for open >applications if you rename an application to start with '-' and then >launch it under MultiFinder. > >I suggest that this is a "feature" of the present Menu Manager, and >that you will have to code for it or you will get a "bug" in your >program. Sounds pretty bogus, if you ask me. :-) At any rate, I now special-case file names: title := wPeek^.TitleHandle^^; if title[1] = '-' then title := Concat(Chr(0), title); SeItem(SpecialMenu, WindowCount + 6, title); This works fine, so now I guess I'm one of the few that does it right... R. Rich Siegel Quality Assurance Technician THINK Technologies Division, Symantec Corp. Internet: singer@endor.harvard.edu UUCP: ..harvard!endor!singer Phone: (617) 275-4800 x305