With that knowledge, I wrote three functions (below):ĬareAboutTaskBar() returns true if we're running on W8 or later and have multiple monitors.
I've solved the problem, although I had to write a little program to give me a list of windows to find out that the extended taskbar is called ShellSecondaryTrayWnd.