Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!uw-beaver!tektronix!tekig!tekig4!briand From: briand@tekig4.TEK.COM (Brian Diehm) Newsgroups: comp.sys.mac Subject: Re: How to Change MS WORD 3.0 Menu Names? Message-ID: <1436@tekig4.TEK.COM> Date: Fri, 24-Apr-87 13:16:18 EST Article-I.D.: tekig4.1436 Posted: Fri Apr 24 13:16:18 1987 Date-Received: Sun, 26-Apr-87 00:48:02 EST References: <236@osupyr.UUCP> Reply-To: briand@tekig4.UUCP (Brian Diehm) Distribution: world Organization: Tektronix, Inc., Beaverton, OR. Lines: 23 >Help! Help! Help! > >I want to change the menu names in MS Word 3.0. >Though I can use say Fedit Plus, to read the stuff, I can't change the code >because I cannot shorten words with disk editors, unless I want to screw up >the stuff. Am I right? Well, you're technically right, the string lengths should remain the same to be really sure. However, some strings have a length byte in front of the chars, and changing this should make things work OK. Even if you can't change the string lengths, you might make shorter names with trailing spaces to fill the string. This will help some, because the menu bar is displayed in Chicago which is a variable character width font. Thus, the trailing spaces will be shorter, but not as much shorter as if they didn't exist. You can complain that Microsoft "didn't do it right" by not using MENU resour- ces, but then look closely at how they are wildly changing those menus dynam- ically and you will understand. It should make internationalizing their program more difficult for someone, though. Maybe this is a weak point of the resource concept? (There - that should be ground for a holy war!) -Brian Diehm Tektronix, Inc. (SDA - Standard Disclaimers Apply)