-----Original Message----- From: Dmitry Timoshkov [mailto:dmitry@baikal.ru] Sent: Tuesday, August 13, 2002 6:33 PM To: us@the-edmeades.demon.co.uk Cc: wine-devel@winehq.com Subject: Re: Re:can windows be reparented?
snip
Could you please test patch posted by Bill Medland to wine-patches today? It's not entirely correct though. My tests show that SetWindowLong(GWL_HWNDPARENT) call changes simultaneously both parent and owner for top level windows and returns old value (not sure old owner or parent it is).
Honest question : how do you know the parent is changing? by calling GetWindowLong (GWL_HWNDPARENT)? I believe that it is the owner that is changing and the parent (as returned by getAncestor (GA_PARENT) willl be unchanged.
snip
Bill
"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++.
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().