Hi, I just figured it out. Use GuiEventHandler to process CLOSE_WINDOW event. ... Thank you! Cheers, Jishen ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75929#75929