Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!dartvax!merchant From: merchant@dartvax.UUCP Newsgroups: comp.sys.mac Subject: Re: What makes programming the Mac difficult? Message-ID: <6452@dartvax.UUCP> Date: Thu, 11-Jun-87 10:44:03 EDT Article-I.D.: dartvax.6452 Posted: Thu Jun 11 10:44:03 1987 Date-Received: Sat, 13-Jun-87 19:37:27 EDT References: <869@apple.UUCP> <1499@midas.TEK.COM> Organization: Dartmouth College, Hanover, NH Lines: 23 Summary: Highlight the default In article <1499@midas.TEK.COM>, herbw@midas.TEK.COM (Herb Weiner) writes: > Ed, thanks for asking this question. It shows that folks at Apple are interested. > In summary, I believe that there are a few common operations (things that every > application developer needs to deal with) that are not handled completely by > the toolbox routines: > > 1. I want to put up a dialog with the default button highlighted. The toolbox > routine does almost everything. I must provide my own code to highlight the > button. (Clue that this is difficult: so many applications simply neglect > to highlight the default button.) > -- Herb Weiner (UUCP: !tektronix!midas!herbw) > (AppleLink: D0521) You do have to provide your own code to highlight it, granted, but in the phone book version of Inside Macintosh (don't know about the other one) they tell you explicitly how to do it and even give you some sample code. I tried it and it wasn't particularly tricky. Not doing it, I think, may be inspired by laziness, not through any major difficulty. Either that or the theory that hitting return or enter is an undocumented feature and need not be highlighted. -- "There were times we had it all..." Peter Merchant (merchant@dartvax.UUCP)