--- In [email protected], "dleidinger" <[EMAIL PROTECTED]> wrote:
>
> Hello 
> 
> > I have a bar with a button that I would like to have the following
> > actions:
> > On Left-Click, bar is Topmost
>    => win.ontop(win.gethandle(cl.GetLastBar()),1) 
> 
> > On Right-Click, bar is not Topmost
>    => win.ontop(win.gethandle(cl.GetLastBar()),0) 
> 
> You can also do this with one button using ontop-toogle:
>    => win.ontop(win.gethandle(cl.GetLastBar()),2) 
> or => win.ontop(win.gethandle(cl.GetLastBar())) 
> 
> 
> If the barname is fixed you could also define a hot-key to toggle 
> topmost for this bar: 
>    => win.ontop(win.gethandle("Barname")) 
> 
> 
> Best regards Detlef
>

Wow, that's neat and works well.  Here is how I was trying to do it,
the bar's name is *Bar and I know that bars have a property of
Topmost, so I was trying to access the the property programatically. 
Just out of curiosity, is there a way to do it that way? ...access a
bar's property via a script?

Thanks!



Reply via email to