Any ideas why this would be? Any ideas for a workaround or other solution would be appreciated.
Code: Select all
CoordMode, Mouse, Screen
WM_MOUSEMOVE=0x200
OnMessage(WM_MOUSEMOVE, "MOUSEMOVE")
...
...
CustomColor = EEAA99 ; Can be any RGB color (it will be made transparent below).
Gui +LastFound +AlwaysOnTop -Caption +border +ToolWindow ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
;Gui +LastFound +AlwaysOnTop +ToolWindow
Gui, Color, %CustomColor%
...
...
WinSet, TransColor, %CustomColor% 220
...
...
MOUSEMOVE()
{
; Get window out of the way when mouse is over it.
MouseGetPos, X, Y
if(X > 100) ; Window must be on right side so move to left side
WinMove, NetMonitor,, 5
else ;window must be on left side so move to right side
WinMove, NetMonitor,, A_ScreenWidth-45
return
}