/*ご参考*/
#include "user32.as"
#include "shell32.as"
FindWindowEx 0,0,"shell_traywnd",0
mes "hwnd : "+stat
dim _Iapb, 9
SHAppBarMessage $4, varptr(_Iapb)
mes "状 態: "+stat
SHAppBarMessage $5, varptr(_Iapb)
mes "場 所: "+_Iapb.3
mes "左上X: "+_Iapb.4
mes "左上Y: "+_Iapb.5
mes "右上X: "+_Iapb.6
mes "右下Y: "+_Iapb.7
/*
#define ABS_AUTOHIDE 1
#define ABS_ALWAYSONTOP 2
#define ABM_NEW 0
#define ABM_REMOVE 1
#define ABM_QUERYPOS 2
#define ABM_SETPOS 3
#define ABM_GETSTATE 4
#define ABM_GETTASKBARPOS 5
#define ABM_ACTIVATE 6
#define ABM_GETAUTOHIDEBAR 7
#define ABM_SETAUTOHIDEBAR 8
#define ABM_WINDOWPOSCHANGED 9
*/