I have a window and than I have a child of that window wich is just anouther window. (Not a special like a button). But when I close the child window it closes the main window as well and shuts down the process. Is it possible to make that not hapen and only cloes the child window, I was thinking overridding the wm_close message or somthing.