Modify

Opened 6 years ago

Closed 13 months ago

#3164 closed Bug (Wont Fix)

problem with the function ToolTip COM Interface

Reported by: blackrodger@… 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)

Change History (1)

comment:1 Changed 13 months ago by Jpm

  • Resolution set to Wont Fix
  • Status changed from new to closed

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>

that the reason why such vbs does not work.

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.