The library I'm referring to is from viewtopic.php?f=6&t=1229&start=20
I need to find the "idCmd - Command identifier associated with the button”, I'm unsure how to find that, and after I find that, do I just replace all the idCmd with that identifier? Any help will be appreciated, thanks!
Code: Select all
TrayIcon_Hide(idCmd, sTray:="Shell_TrayWnd", bHide:=True)
{
d := A_DetectHiddenWindows
DetectHiddenWindows, On
idxTB := TrayIcon_GetTrayBar()
SendMessage, 0x0404, idCmd, bHide, ToolbarWindow32%idxTB%, ahk_class %sTray% ; TB_HIDEBUTTON
SendMessage, 0x001A, 0, 0, , ahk_class %sTray%
DetectHiddenWindows, %d%
}