Well, I finally got around to updating this, with a little nagging from Mattike
Change log:
Only two noticable differences from the first version:
No more _ToolTip.dll! - Thanks to Patchou changing the number of parameters allowed with Interop.Call from 9 to 12, I no longer need to use a dll to create the tooltip window!
ToolTip.Destroy(); - Just a new function that "does what it says on the tin", destroys the tooltip!
Example Usage:
code:// Create your window.
var MyWindow = MsgPlus.CreateWnd('MyWindow.xml', 'MyWindow');
// Get a handle to the button
var MyButton = MyWindow.GetControlHandle("ExampleButton");
// Create the ToolTip window
var MyToolTip = new ToolTip(MyButton, "Text on tooltip", "ToolTip Title", TTI_INFO);
// Update the title of the tooltip
MyToolTip.Title = "New ToolTip Title";
MyToolTip.UpdateToolTip();
Nice work eljay - i might use this in some of my scripts! Thanks for the explanation too - unfortunately you missed a bit. How do i extract the files out of the zip file