Pajama Sam's unmanaged window

Dmitry Timoshkov dmitry at baikal.ru
Thu Jan 31 11:59:00 CST 2002


"Ori Pessach" <ori_pessach_blah at yahoo.com> wrote:

> > Since this is probably not the case, perhaps it's better to check for the
> > popup menu class in is_window_managed(), something like
> >
> >  if (GetClassLongA(win->hwndSelf, GCW_ATOM) == POPUPMENU_CLASS_ATOM) return
> > FALSE;
> 
> Ah ha! Exactly what I had in mind. After thinking about this, it seemed to me 
> that is_window_managed() should examine the window's class, as well as its 
> style bits, since the class will give a more accurate indication of what kind 
> of window we're dealing with than just the style bits.

Unfortunately this aproach does not work well in all cases, especially in
the case of subclassed windows.

-- 
Dmitry.







More information about the wine-devel mailing list