Jump to content

Slow tooltips in latest autoit version.


Recommended Posts

8 minutes ago, Danp2 said:

Can you be more specific. "slowed down" can mean lots of things. Are they taking longer to appear, stay onscreen too long, or ???

Exactly, it is an internal problem of the exe, compared to the 2018 version, I cannot tell you the error because it is not open source.

If I run the autoit with the 2022 version and the 2018 AutoIt3.exe this works perfectly, I just want to report the bug.

Edited by boludoz
Link to comment
Share on other sites

Update:

Global $g_hToolTip = 0

Func _GUICtrlSetTip($controlID, $tiptext, $title = Default, $icon = Default, $options = Default, $useControlID = True)
    ;Return GUICtrlSetTip($controlID, $tiptext, $title, $icon, $options)

    Local $hCtrl = ($useControlID = True ? GUICtrlGetHandle($controlID) : $controlID)

    Return _GUIToolTip_AddTool($g_hToolTip, 0, $tiptext, $hCtrl)
EndFunc   ;==>_GUICtrlSetTip

Func _GUICtrlGetControlID($hCtrl = -1)
    Local $aRet = DllCall("user32.dll", "int", "GetDlgCtrlID", "hwnd", ($hCtrl = -1 ? GUICtrlGetHandle(-1) : $hCtrl))
    Return (IsArray($aRet) ? $aRet[0] : -1)
EndFunc   ;==>_GUICtrlGetControlID

 

Edited by boludoz
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...