can windows be reparented?

Medland, Bill Bill.Medland at accpac.com
Thu Aug 15 10:54:36 CDT 2002


> -----Original Message-----
> From: Dmitry Timoshkov [mailto:dmitry at baikal.ru]
> Sent: Tuesday, August 13, 2002 6:33 PM
> To: us at the-edmeades.demon.co.uk
> Cc: wine-devel at 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



More information about the wine-devel mailing list