🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #1813

Re: Dialog manager question

#1813
From: Jerrold N. Godes
Date: Fri, 21 Jun 1985 05:19
19 lines
1696 bytes
> > 
> >      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 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!
> 
However, ModalDialog requires some input from the user.  The approach you
should take is to make the Dialog invisible.  Then you can call ShowWindow
in order to get the text to show up.  The reason this occurs is because the
Dialog manager soley causes an update event for the Dialog's window.
This is normally handled by ModalDialog, but can also be handled by
ShowWindow.  This should be more what you are looking for, rather than
forcing the user to do something by calling ModalDialog.

                             - Jerry Godes
Technical Details
Message-ID: <3280@dartvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!dartvax!jerryg
References: <2084@ut-sally.UUCP> <178@analog.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site dartvax.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!dartvax!jerryg
From: jerryg@dartvax.UUCP (Jerrold N. Godes)
Newsgroups: net.micro.mac
Subject: Re: Dialog manager question
Message-ID: <3280@dartvax.UUCP>
Date: Fri, 21-Jun-85 01:19:47 EDT
Article-I.D.: dartvax.3280
Posted: Fri Jun 21 01:19:47 1985
Date-Received: Sun, 23-Jun-85 02:07:59 EDT
References: <2084@ut-sally.UUCP> <178@analog.UUCP>
Distribution: net
Organization: Dartmouth College, Hanover, NH
Lines: 20