PDA

View Full Version : MultiLine ToolTips, is this possible ?


qwerty
06-21-2007, 10:23 AM
I was actually looking for something else when i ran across this post by Dermot, in the middle of another discussion .....

The AutoIT dll is also an ActiveX control with a COM interface so it can easily be used directly in AMS using LuaCom.

This will display a multiline tooltip.
oAutoIt = luacom.CreateObject("AutoItX3.Control")

if oAutoIt then
-- This will create a tooltip
oAutoIt:ToolTip("This is a tooltip\r\n\r\nThis is a multiline tooltip\r\n\r\nThis is another line of text")

Application.Sleep(2000)

-- Clear the tooltip
oAutoIt:ToolTip("")
end


Very interesting, but way over my head ! can someone explain a little more about this, i tried searching some of the keywords and didnt really return any useful results,

this is using the COM method from what i can see, but can you also call the function from the dll in the normal manner to get the result of multiline tooltips ? (the DLL will accept both COM and standard DLL calls)


TIA