Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!husc6!rice!sun-spots-request From: sytek!syteka.ARPA!sridhar@hplabs.hp.com (Sridhar Acharya) Newsgroups: comp.sys.sun Subject: Re:Closing Sunview windows Keywords: Windows Message-ID: <770@brazos.Rice.edu> Date: 28 Jul 89 20:52:05 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 20 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 94, message 4 of 21 >Date: 26 Jul 89 19:06:37 GMT >From: ssc-vax!dmg@beaver.cs.washington.edu (David Geary) > >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. That's simple, In the window_set() call set the FRAME_NO_CONFIRM attribute to TRUE before you do window_destroy() and you will be all set. Sridhar Acharya Software Engineer Hughes Lan Systems. UUCP: ...sun!sytek!sridhar Internet: sridhar@sytek.hls.hac.com