-
Notifications
You must be signed in to change notification settings - Fork 7
Not working with simple steal focus hack #11
Copy link
Copy link
Open
Description
Hello,
Thanks first for this interesting and useful project.
I tested it on Win10 with a test tool I made with the simple well-known steal focus hack working with such thread injection:
DWORD windowThreadProcessId = GetWindowThreadProcessId(GetForegroundWindow(), LPDWORD(0)); DWORD currentThreadId = GetCurrentThreadId(); AttachThreadInput(windowThreadProcessId, currentThreadId, true); BringWindowToTop(bhWnd); ShowWindow(bhWnd, SW_SHOWNORMAL); AttachThreadInput(windowThreadProcessId, currentThreadId, false);
I also tested with SetForegroundWindow instead of BringWindowToTop, and it isn't able to keep focus. :(
Here's my tool you can test with:
BlinkingWindow.zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels