Jump to content

traytip problem


seres
 Share

Recommended Posts

ok, i have a problem with the trytip, it doesnt show up when i hide autoit program in the tryicons, is there a way to show a try even if the autoit try is hidden or to show a try in the system clock?

You can use this code to cleanup Residual Tray Icons.

;//Refresh the ICON Tray after performing a ProcessClose [Clear Residual Icons]
Func _UpdateTray()
    Local $iMode = Opt("WinTitleMatchMode", 4)
    Local $hControl = ControlGetHandle("[CLASS:Shell_TrayWnd]", "", "[CLASSNN:ToolbarWindow321]")
    Local $acSize = WinGetClientSize($hControl)
    For $x = 0 To $acSize[0] Step 5
        For $Y = 0 To $acSize[1] Step 5
            DllCall("user32.dll", "lparam", "SendMessage", "hwnd", $hControl, "int", 0x0200, "wparam", 0, "lparam", BitOR($Y * 0x10000, BitAND($x, 0xFFFF)))
        Next
    Next
    Opt("WinTitleMatchMode", $iMode)
EndFunc   ;==>_UpdateTray
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...