Search the Community
Showing results for tags 'WindowFromPoint'.
I have a little Script to monitor my Wlan-Router, witch is set @SW_SHOWNA. On Mouseover it hides, if not Shift is pressed, to allow Control of underlying windows (browsertabs for instance). i want to detect, if firefox or iron is the underlying window and if so, move the gui to another place. GUIRegisterMsg($WM_SETCURSOR, "WM_SETCURSOR") Func WM_SETCURSOR($hWnd, $Msg, $wParam, $lParam) Local Enum $SHIFT, $CTRL, $ALT $accel = DllCall('user32.dll', "short", "GetAsyncKeyState", "int", '0x1' & $SHIFT) If @error Then return If BitAND($accel, 0x8000) = 0 Then GUISetState(@SW_HIDE) $mp