--- In [email protected], "p.renfrew" <p.renf...@...> wrote:

>   There are cases where it still comes to the front; maybe SetWindowPos(..) 
> is needed in a few more events.  Example: put a floating bar on the desktop, 
> put focus on some other window and CTRL+left click on the bar and move it 
> around the screen -- it is topmost. (Rainlendar calendar doesn't come to the 
> front when moved/dragged -- I actually can't get it to come to the front at 
> all)  Or, just click "Apply" in the PPro configuration and the bar comes to 
> the top.  But, I'm glad the concept works.

Rainlendar adds this:

case WM_WINDOWPOSCHANGING: {
 ...
 LPWINDOWPOS wp=(LPWINDOWPOS)lParam;
 wp->flags|=SWP_NOZORDER;
 ...
}       

Reply via email to