--- In [email protected], "p.renfrew" <p.renf...@...> wrote:
>
> 
> 
> --- In [email protected], "p.renfrew" <p.renfrew@> wrote:
>  
> > Rainlendar adds this:
> > 
> > case WM_WINDOWPOSCHANGING: {
> >  ...
> >  LPWINDOWPOS wp=(LPWINDOWPOS)lParam;
> >  wp->flags|=SWP_NOZORDER;
> >  ...
> > }
> 
> ... but wrapped in a bool flag check to ensure that it isn't trying to set 
> the position itself of course..
>

Which probably would negate the need to SetWindowPos(BOT) in every single 
WM_PAINT, but only set it at strategic times. But I'm not sure what those times 
might be. The bar seems to be recreated whenever you Ok/Apply from the config, 
but maybe it comes to the front at at other times as well.  
(SetWinEventHook(EVENT_SYSTEM_FOREGROUND ... ) ?)



Reply via email to