Closing Sunview windows
    Sridhar Acharya 
    sytek!syteka.ARPA!sridhar at hplabs.hp.com
       
    Sat Jul 29 06:52:05 AEST 1989
    
    
  
>Date:    26 Jul 89 19:06:37 GMT
>From:    ssc-vax!dmg at 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 at sytek.hls.hac.com
    
    
More information about the Comp.sys.sun
mailing list