Posts: 175
	Threads: 43
	Joined: Jun 2004
	
	
 
	
	
		I've searched for this and thought about how to go about it, but came up empty and dumb. Does anyone no a way to slow down the autoexpand/autoshrink feature on QM toolbars. I have a large launch TB with dozens of programs on it I keep at the top of my screen with autoshrink enabled. Its very easy to inadvertently expand it. I need it to wait for me to hover over it for a few milliseconds before expanding. 
Thanks,
Matt B
	
	
	
Matt B
	
	
 
 
	
	
	
		
	Posts: 12,239
	Threads: 144
	Joined: Dec 2002
	
	
 
	
	
		Function tb_delay_expanding
;/
function# hWnd message wParam lParam
sel message
,case WM_SETCURSOR
,int+ g_tbdelexp
,if(g_tbdelexp=0)
,,SetTimer hWnd 9678 500 0 ;;expand after 500 ms of not moving mouse
,,ret 1
,
,case WM_TIMER
,if(wParam=9678)
,,if(win(mouse)=hWnd) g_tbdelexp=1; mou+ 1 0; mou+ -1 0
,,else g_tbdelexp=0; KillTimer hWnd 9678
Example toolbar
;/hook tb_delay_expanding
notepad :run "notepad.exe"
 
 
	
	
	
		
	Posts: 175
	Threads: 43
	Joined: Jun 2004
	
	
 
	
	
		Works great! Thanks Gintaras. I'm not sure how you find the time.
	
	
	
Matt B