Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-request From: phill%med-image.compsci.bristol.ac.uk@nsfnet-relay.ac.uk Newsgroups: comp.sys.sun Subject: Re: Closing SunView windows Keywords: Windows Message-ID: <768@brazos.Rice.edu> Date: 28 Jul 89 08:17:02 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 17 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 94, message 2 of 21 >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