James "Wez" Weatherall jnw22 "at" cam.ac.uk
Sun, 26 Sep 1999 17:19:01 +0000


> Why does the box need to time out? Can't you just close the box if the
> connection that it goes with is closed?

Normally, you'd use a MessageBox call to produce a simple message box
querying the user.  You can't get the handle of such boxes, so you can't
close them - once you go into the call, you're stuck.

So a query dialog will have to be a new dialog, which presents a slight
problem in formatting if you want to be able to print something like "Accept
incoming connection from <machine>" - if <machine> changes length, the
formatting changes.

Using the system MessageBox call would be ideal, if it would let you cancel
or kill a message box, since that copes with the text formatting. :(

Cheers,

James "Wez" Weatherall
--
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK                              - Tel : 343000




---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------