how to avoid killing a child window

Hi,
Interesting problem.

I've got a child window that I need to preserve when I kill a parent window.
Anyone encountered a similar problem before, and any insight on how you began to tackle it?

thanks for any help.