05-02-2006, 07:43 PM
int hwnd=child("Notification Area" "ToolbarWindow32" "+Shell_TrayWnd" 0x1)
int i n=SendMessage(hwnd WINAPI.TB_BUTTONCOUNT 0 0)
for(i 0 n)
,SendMessage(hwnd WINAPI.TB_HIDEBUTTON i 1)
Tray t.AddIcon("" "Tray icons are hidden") ;;to autosize
5
for(i 0 n)
,SendMessage(hwnd WINAPI.TB_HIDEBUTTON i 0)Win XP only. Probably will not work with shell replacements.
