Hide icon in NotifyIconOverflowWindow

Get help with using AutoHotkey 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 50 times
Any help would be appreciated :D

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], tatagi, tSunrise, wineguy, WuffTheCoder and 35 guests