--- In [email protected], "brucexs" <bswit...@...> wrote: > > > > --- In [email protected], "p.renfrew" <p.renfrew@> wrote: > > > > --- In [email protected], "brucexs" <bswitzer@> wrote: > > > > > > > > > > > Rainlendar adds this: > > > > > > > > > > case WM_WINDOWPOSCHANGING: { > > > > > ... > > > > > LPWINDOWPOS wp=(LPWINDOWPOS)lParam; > > > > > wp->flags|=SWP_NOZORDER; > > > > > ... > > > > > } > > > > > > I uploaded a new exe with the setwindowpos after mouse up after a drag > > > move and also with the above suggestion with windowposchanging. > > > > > > > I figured out how to tie into the WndProc of the ppro bar in the plugin and > > handle the WINDOWPOSCHANGING case. The only trouble I had was when I > > Apply/Ok in Config the Bar would be recreated with a new HWND. I couldn't > > find a trigger event to use to remove the hook from the old HWND and apply > > it to the new one. > > Reconfigure command list will be executed after reconfigure.
Or maybe look for wm_close or wm_destroy in your window subclass, then set a timer to cause scan for new hwnds with class starting with powerprobar (catches new bars created too!)
