Hide icon in NotifyIconOverflowWindow

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
b3master12
Posts: 1
Joined: 15 Sep 2020, 23:03

Hide icon in NotifyIconOverflowWindow

15 Sep 2020, 23:11

Hi guys,

I use [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit to hide a specific tray icon. It works file with Shell_TrayWn. But it doesn't work if the icon is hidden in the NotifyIconOverflowWindow area. Below is my code:

Code: Select all

; #NoTrayIcon
#Include TrayIcon.ahk

test := TrayIcon_GetInfo(sExeName := "FamItrfc.exe")
 Loop, % test.MaxIndex()
    str .= test[A_Index].IDcmd   

 TrayIcon_Hide(str, sTray:="NotifyIconOverflowWindow", bHide:=True)
  ; TrayIcon_Hide(str, sTray:="Shell_TrayWnd", bHide:=True) ==> this works file if the icon is not hidden
Capture.PNG
Capture.PNG (34.24 KiB) Viewed 325 times
Any help would be appreciated :D

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Darkmaster006, haomingchen1998 and 162 guests