> -----Original Message----- > From: Dmitry Timoshkov [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 9:17 AM > To: Medland, Bill > Cc: [EMAIL PROTECTED] > Subject: Re: Re:can windows be reparented? > > > "Medland, Bill" <[EMAIL PROTECTED]> wrote: > > > Honest question : how do you know the parent is changing? > by calling > > GetWindowLong (GWL_HWNDPARENT)? > > Yes, and verifying the result in Spy++.
(As discussed in my other email) I guess Spy++ is displaying the result of GetWindowLong > > > I believe that it is the owner that is changing and the > parent (as returned > > by getAncestor (GA_PARENT) willl be unchanged. > > Hmm, I didn't try GetAncestor(), only GetWindowLong() and GetParent(). (Do you want the test case code?) > > -- > Dmitry. > > >