Jump to content

Search the Community

Showing results for tags 'balloon tooltip timeout'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


WWW


Interests

Found 1 result

  1. I wanted a way to prevent a tooltip from timing out. When it times out, I can't get it back unless I restart the app. I was not able to find anything in this forum that worked the way I liked, so I came up with this. Maybe someone can use it. Dick #include <GUIConstantsEx.au3> #include <GUIEdit.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <EditConstants.au3> #include <StaticConstants.au3> Dim $ID[1] Local $Btn Local $GUI Local $dummyEdit Local $Label_width = 200 Local $Target_label $GUI = GUICreate("Balloon Tip Trick", 250, 150) $Target_label = GUICtrlCreateLabel("Click OK to activate balloon tip", 20, 20, $Label_width, 25) $OK_btn = GUICtrlCreateButton("OK", (250-50)/2, (150-80), 50, 25) $Close_btn = GUICtrlCreateButton("Close", (250-50)/2, (150-50), 50, 25) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Close_btn Exit Case $OK_btn $dummyEdit = GUICtrlCreateEdit("", 20, 35, $Label_width, 1) GUICtrlSetData($Target_label, "Balloon tip active") Case Else ;Get ID of cursor. $ID = GUIGetCursorInfo() ;If ID[4] (the control ID) matches dummy control [AND optionally some control NOT empty], display balloon tip. If $ID[4] = $dummyEdit And GUICtrlRead($Target_label) = "Balloon tip active" Then _GUICtrlEdit_ShowBalloonTip($dummyEdit, "Balloon tip", "Here it is!", $TTI_INFO) EndIf ContinueLoop EndSwitch WEnd
×
×
  • Create New...