can windows be reparented?

Dmitry Timoshkov dmitry at baikal.ru
Thu Aug 15 11:17:23 CDT 2002


"Medland, Bill" <Bill.Medland at 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().

-- 
Dmitry.






More information about the wine-devel mailing list