Path: utzoo!attcan!uunet!convex!killer!mit-eddie!genrad!cig From: cig@genrad.UUCP (Charles I. Ganimian Jr.) Newsgroups: comp.windows.ms Subject: Thanks for the stack help Keywords: stack overflow Message-ID: <16300@genrad.UUCP> Date: 26 Jan 89 18:51:15 GMT Distribution: na Organization: GenRad, Inc., Concord, Mass. Lines: 18 Thanks to all who responded to my questions about stack problems (Bill Mike, and anyone else whose name I forgot) The problem was caused by checking if a child existed in the WM_ACTIVATE code using IsWindow (hWnd) in a parent. The problem starts when I DestroyWindow(hChild) and it sends a WM_ACTIVATE msg to the parent which checks if hChild exists (and it still does...) and sets focus to it and into to floor I get screwed... thanks again... charlie g. ps I knew SPY was telling me something interesting but I couldn't quite get there.