Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!voder!apple!han From: han@apple.UUCP Newsgroups: comp.sys.mac Subject: Re: Graying Out Text Items Message-ID: <1028@apple.UUCP> Date: Sat, 13-Jun-87 19:54:43 EDT Article-I.D.: apple.1028 Posted: Sat Jun 13 19:54:43 1987 Date-Received: Sun, 14-Jun-87 07:38:44 EDT References: Organization: Apple Computer, Inc., Cupertino, USA Lines: 34 In article , rs4u+@ANDREW.CMU.EDU (Richard Siegel) writes: > > I don't think it's necessary to define a UserItem to > gray out an item. The following bit shuld work: > > PROCEDURE GrayDItem(d:DialogPtr; item:Integer); > BEGIN > END; > > This way, you don't need any UserItems, nor do you > have to worry about placing the items in correct order. > > --Rich However, if another dialog comes out in front, or something, and goes away requiring an update event for the dialog, the graying will not occur unless you explicitly do update events in your ModalDialog FilterProc. The recommended way is to use a useritem. Period. This message has been brought to you from the Apple Thought Police. War is Peace. Love is Hate. Bugs are Features. :-) ===================================================================== Byron Han | UUCP: {sun,voder,nsc,mtxinu,dual}!apple!han Apple Computer, Inc. | CSNET: han@apple.csnet 20525 Mariani Ave, | ATTNet: 408-973-6450 Cupertino, CA 95014 | GENIE: BYRONHAN APPLELINK: HAN1 MS 27Y | CSERVE: 72167,1664 ===================================================================== All opinions and statements do not necessarily represent those of my employer, Apple Computer Inc. =====================================================================