Path: utzoo!attcan!uunet!yale!husc6!genrad!cig From: cig@genrad.UUCP (Charles I. Ganimian Jr.) Newsgroups: comp.windows.ms Subject: Destroying child windows Message-ID: <16015@genrad.UUCP> Date: 20 Jan 89 17:24:42 GMT Distribution: na Organization: GenRad, Inc., Concord, Mass. Lines: 19 What is the proper way to destroy a child window? Here is the scenario, I create a child window the size of the client area of its parent. I paint on it and when done the user clicks on a child window control button and I now want to destroy the window. do I : 1. PostMessage WM_CLOSE to the child 2. DestroyWindow hWndChild right there 3. PostMessage to the parent to destroy the child I know this is simple but I am having trouble after the child is destroyed and I want to verify that I am doing this correctly. thanks charlie g.