Different window handles

Alexandre Julliard julliard at winehq.com
Fri Oct 11 18:39:33 CDT 2002

"Medland, Bill" <Bill.Medland at accpac.com> writes:

> What is the difference between window handles 100nn and 200nn?
> I am trying to figure out why our program behaves differently between KDE
> and Gnome.  One fundamental difference is a particular window is allocated
> as 20033 under kde (and behaves correctly) whereas it comes back as 1003f
> under Gnome (and behaves incorrectly)

I would be surprised if this was causing the problem. The high word of
the handle is just a counter to avoid reusing handles. So what this
means is in one case window 10033 has been freed so we reuse handle
entry 0033, while in the other case it hasn't been freed yet.

Alexandre Julliard
julliard at winehq.com

More information about the wine-devel mailing list