DWORD myThreadId = GetCurrentThreadId();
HWND hwnd_TaskSwitcher = FindWindow("TaskSwitcherWnd", "Task Switching");
AttachThreadInput(myThreadId, GetWindowThreadProcessId(hwnd_TaskSwitcher, NULL), 1);
SetForegroundWindow(hwnd_TaskSwitcher);
Following a tap on the touchpad, i wish to bring forth the alt-tab / task-switcher window, to be able to choose from the opened windows the task-switcher shows me.
But I am unable to bring to front, the tasks-switcher window on windows 8 at all.
Can this be done somehow ?
We can use explorer.exe to launch the task switcher window.
I found: Launching Windows Special Folders:
To see the task switcher window, we may execute:
In C or CPP we may do: