[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: FIXME in "\window\defwnd.c"
From:       Ove Kaaven <ovehk () ping ! uio ! no>
Date:       2000-07-27 18:02:06
[Download RAW message or body]


On Thu, 27 Jul 2000, Douglas Ridgway wrote:

> On Thu, 27 Jul 2000, Reece Dunn wrote:
> 
> > in the
> >    case WM_ACTIVATE:
> > section, the
> >    SetWindowPos( wndPtr -> hwndSelf, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE |
> > SWP_NOSIZE );
> > line is questionmarked.
> > 
> > In the windows documentation on this function,

Which function? DefWindowProc? WM_ACTIVATE? In the window documentation I
have, SetWindowPos should *not* be called from DefWindowProc's WM_ACTIVATE
handler; it should only set the keyboard focus. Trying to alter the
Z-order from within WM_ACTIVATE is a mistake, and typically leads to
infinite recursions, as WM_ACTIVATE is a response to the window being
"brought to the top" in the first place.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic