CloseFrameExample
-- handling the WINDOW_DESTROY event to close a frame.
Experiment:
Press the "Show New Frame" button
Close the new frame that just popped up.
The source.