Closing SunView windows

phill%med-image.compsci.bristol.ac.uk at nsfnet-relay.ac.uk phill%med-image.compsci.bristol.ac.uk at nsfnet-relay.ac.uk
Fri Jul 28 18:17:02 AEST 1989


>Does anyone know how to close a window from a C program *without* getting
>the "Press the left mouse button to confirm quit..." message being
>displayed?

>I've tried both window_destroy() and window_done(), but both of them post
>the confirm message.  I just want the window to close, I don't want the
>user having to confirm anything.

>Thanx,

You need to call window_set(base_frame, FRAME_NO_CONFIRM, TRUE, 0); to get
the desired effect. (See page 383 of SunView programmer's guide v4.0).

Phill Everson
Medical Imaging
Dept Comp Sci
University of bristol, UK



More information about the Comp.sys.sun mailing list