child windows

anyone who knows how to create an OpenGL program with many windows but one main and others are child of this, please help me.
I mean by child the windows that if closed by cross at up-left corner, the program does not exit?

[This message has been edited by Soner (edited 04-23-2000).]