-----Original Message----- From: Dmitry Timoshkov [mailto:dmitry@baikal.ru] Sent: Thursday, August 15, 2002 9:17 AM To: Medland, Bill Cc: wine-devel@winehq.com Subject: Re: Re:can windows be reparented?
"Medland, Bill" Bill.Medland@accpac.com 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.
"Medland, Bill" Bill.Medland@accpac.com wrote:
(Do you want the test case code?)
Why not? :-)