Has anyone used caption bars with "Focus Follows Mouse" (X-Mouse)?  
I use xmouse and recently tried to create a right caption bar with 
buttons to roll up or minimize to tray.  This is under XP Pro.  I 
could not get it to work correctly using something like window.rollup
(win.handle("under")) or window.rollup(win.handle("active")).  Some 
of the time I can see the bar get the focus and then in about half a 
second, even though the mouse doesn't move, the original window gets 
back the focus.  I tried having a monitor script that kept a global 
variable that consisted of the handle of the previous active window 
and creating a script like so:

if (win.class(win.handle("active")) == "PowerProToolBar")
        Window.Rollup(G_PrevActiveWinHandle)
        Quit
endif
Window.Rollup(Win.Handle("active"))

but that didn't seem to work either.  Any other ideas?  Thanks!  

Brian Cunningham





Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to