Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autohide toolbar
#1
with my transition to vista i decided to use ppro anymore.

now i need to build my left toolbar with qm (which is quite easy),
but one thing i need to know:

how to make a toolbar autohide after x sec of inactivity ?

i assigned a left-center-bump to toggle, but autohide would be cool too.

thanks
pi
#2
I use two autohide QM toolbars for long time. They shrink almost immediately after I move mouse out or click a button. Why do you need to wait x seconds?
#3
i don't mean the auto shrink option.
the whole toolbar should hide after x seconds.

Quote:Why do you need to wait x seconds?
on this particular toolbar i have all my system tools
(nirsoft,sysinternals,colorpicker,screenshot,etc)

sometimes i need more then one tool from there ...

on a dialog i could use a timer when a button has been clicked,
but toolbar with qm buttons is another thing.
pi
#4
Function: AnyName
Trigger example: #11 0x5
Code:
Copy      Help
;parameters
str tb="Toolbar24"
double xwait=3
;____________________

int h=mac(tb)
mov -3 0 h 2
double c=xwait
rep
,if(win(mouse)=h) c=xwait
,else 0.1; c-0.1; if(c<=0) break
mov -3000 0 h 2

Or use a hook function and WM_SETCURSOR message which detects mouse movement and button events.
#5
perfect Smile
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)