Forum Discussion
Neon5
Mar 28, 2022Brass Contributor
Task bar randomly and completely disappears
I have set up my first Windows 11 system. And here the Windows 11 task bar sometimes completely disappears. Completely = there is no grey line at the desktop bottom, and nothing happens if I move the...
Neon5
Apr 14, 2022Brass Contributor
The task bar will always come back when I run either Task Manager or Process Explorer (https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer). There must be something in common to those process managers which (re)activates the task bar. Would be great to know what that is - then I could implement a workaround.
Neon5
Apr 15, 2022Brass Contributor
Oh wait - there is one thing that TaskManager and Process Explorer have in common: Both show up in the task bar's tray section. That could be the key to implement a workaround: produce some ongoing dummy activity in the tray. Process Explorer was in the overflow section, which normally is invisible, so the dummy activity could be kept invisible.
- Neon5Apr 16, 2022Brass ContributorAs suspected, adding an icon the the tray will bring the task bar back:
BYTE b = 255;
HICON hi = CreateIcon(hInstance, 1, 1, 1, 1, &b, &b);
NOTIFYICONDATA nd = { sizeof nd, NULL, 1, 0, 0, hi };
Shell_NotifyIcon(NIM_ADD, &nd);
Shell_NotifyIcon(NIM_DELETE, &nd);
Now I will write a program that hooks into mouse input and will execute these five code lines every time the mouse is moved to the screen bottom. That will completely fix this issue for me. - HSS_YApr 15, 2022Copper Contributor
不好意思,就我想问一下怎么在这个上面提问啊?