﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
140	Add ToolbarWindow32 information on buttons	junkew@…	Jpm	"Would be nice if buttons on toolbar windows are recognized or at least some initial information can be spyed on.

Some (partial) code like below retrieves some usefull information
Code acts now on wordphrase like Toolbar but can imagine trigger should be something less classname dependent. (Class tested on = ToolbarWindow32)

{{{
if stringinstr($sClassname,""Toolbar"") > 0 Then
	$tbCount = _GUICtrlToolbar_ButtonCount($hWnd)
	for $i=0 to $tbcount -1
		;Determine rectangle and check matching area
		$aRect = _GUICtrlToolbar_GetButtonRect ($hWnd, _GUICtrlToolbar_IndexToCommand($hWnd, $i))
		$mPos=mousegetpos()
		$wPos=wingetpos($hWnd)
		if (($mPos[0] - $wPos[0]) > $arect[0] ) and (($mPos[0] - $wPos[0]) < $arect[2] ) _
		And (($mPos[1] - $wPos[1]) > $arect[1] ) and (($mPos[1] - $wPos[1]) < $arect[3] ) Then
			$tbText = ""[Index: ""     & $i & _ 
			          "" CommandID: "" & _GUICtrlToolbar_IndexToCommand($hWnd, $i) & _
					  "" text: ""      & _GUICtrlToolbar_GetButtonText($hWnd, $i) & "" ]""
		endif	
	next
endIf
}}}

Wishes
""Must""
* Show initially information on index, commandid, text, tooltip and area of the button where mouse is hovering over
""Should""
* Highlight/rubberband the button hovering over
"	Feature Request	closed	3.3.1.0	Au3Info			Completed		
