Modify ↓
Opened 10 years ago
Closed 5 years ago
#3164 closed Bug (Wont Fix)
problem with the function ToolTip COM Interface
| Reported by: | Owned by: | Jon | |
|---|---|---|---|
| Milestone: | Component: | AutoItX | |
| Version: | 3.3.14.2 | Severity: | None |
| Keywords: | ActiveX vbscript | Cc: |
Description
In the process of the script vbs I use as an information window function ToolTip, example:
Set objAutoItTT = WScript.CreateObject("AutoItX3.Control")
strTT = "Update Adress Book. " & VbLf & "#############################" & VbLf
objAutoItTT.ToolTip strTT & "Preparation, checks." , 50, 50
In the process of writing the script used AutoitX3.dll library version 3.3.8.1 Everything worked great.
After upgrading to version 3.3.14.2 of the library, but the windows are not displayed tooltip.
Attachments (0)
Note:
See TracTickets
for help on using tickets.

Hi, thanks to Danyfirex we got the explanation
to have a tooltip .vbs script run with cscript.exe the manifest does not include the ref to Microsoft.Windows.Common-Controls 6.0
<dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" language="*" processorArchitecture="*" publicKeyToken="6595b64144ccf1df"/> </dependentAssembly> </dependency>You can use the equivalent .au3 script
_Example() MsgBox(0, '', 1) Func _Example() Local $oObject = ObjCreate("AutoItX3.Control") Local $sInfo = "Update Adress Book. " & @crlf & "#############################" & @crlf $oObject.ToolTip($sInfo& "Preparation, checks." , 50, 50) EndFunc