﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1513	_GUIToolTip_AddTool() accepts only strings in $sText parameter	doudou	Jpm	"With the standard UDF GuiToolTip.au3 it is impossible to create a dynamic tool tip control sending TTN_GETDISPINFO callback.

If you want to set text or other properties of a tool tip in TTN_GETDISPINFO notification callback you have to specify LPSTR_TEXTCALLBACK, which is a long integer of value -1, as text value in the original TOOLINFO while sending TTM_ADDTOOL message (here is the MSDN article: [http://msdn.microsoft.com/en-us/library/bb760256(VS.85).aspx]). _GUIToolTip_AddTool() however prohibits supplying anything but strings in the $sText argument, as it internally always converts the value into a character array pointer.

Suggested fix: check the type of $sText with IsString() or IsInt() before setting up TOOLINFO structure."	Bug	closed	3.3.7.0	Standard UDFs	3.3.4.0	None	Fixed	gui, tooltip	
