Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site analog.UUCP Path: utzoo!utcs!lsuc!pesnta!hplabs!analog!kim From: kim@analog.UUCP (Kim Helliwell ) Newsgroups: net.micro.mac Subject: Re: Dialog manager question Message-ID: <178@analog.UUCP> Date: Sun, 16-Jun-85 15:58:21 EDT Article-I.D.: analog.178 Posted: Sun Jun 16 15:58:21 1985 Date-Received: Thu, 20-Jun-85 03:51:48 EDT References: <2084@ut-sally.UUCP> Distribution: net Organization: Analog Design Tools, Menlo Park, CA. Lines: 32 > > I am trying to display a dialog box that gives the user a message > during a time-consuming process. (i.e. doesn't require any user response) > I can't seem to get the text to show up in the box. I can't figure out > what I am supposed to do to get that to happen. > > I am calling GetNewDialog to retrieve a template from the resource fork. > Am I supposed to call DrawDialog next or is GetNewDialog sufficient? (I > tried both ways, and neither worked.) > In case you're wondering, the DLOG *is* visible, and the Alert/Dialog > Editor shows it just the way I want it to. > > At press time, I have abandoned the dialog approach and am using Windows > and DrawString. But I'd still like to know what I was supposed to do. > > > > Brian H. Powell brian@ut-sally.{ARPA,UUCP} > > U.S. Mail: Southwestern Bell > P.O. Box 5899 451-0739 > Austin, TX 78763 > AT&T > (512) 451-0739 I just started picking my way through the minefields of the dialog manager, but the answer to this one is simple--a single call to ModalDialog should suffice, after the GetNewDialog (or NewDialog, as the case may be). Good Luck! Kim Helliwell hplabs!analog!kim