Umm ... how does an application test whether a window still exists?  All I can think of is that it tries to set the window and then gets the current window to see if it matches what they set.

John F. Fay

-----Original Message-----
From: Stephen J Baker []
Sent: Tuesday, October 29, 2002 3:14 PM
Subject: RE: [Freeglut-developer] RE: Window Destruction Callback

On Tue, 29 Oct 2002, Fay John F Contr AAC/WMG wrote:


NEW applications can tell when their window has been closed using
the new callback function and test that in the Idle callback.

We can also check that the window is still open in glutSetWindow - and
produce a high quality error message if they screw up.


Steve Baker                      (817)619-2657 (Vox/Vox-Mail)
L3Com/Link Simulation & Training (817)619-2466 (Fax)

This email is sponsored by:ThinkGeek
Welcome to geek heaven.
Freeglut-developer mailing list