"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().