Does anyone have a way to detect whether or not the windows taskbar is currently displayed or hidden (via autohide)? I have a macro that resizes and repositions the current window so that it maximizes the window but doesn't cover the taskbar. It detects what side (left, right, top or bottom) the taskbar is on and how much the of the taskbar is exposed. The only time it doesn't work is when the taskbar autohides. I haven't been able to detect whether or not if the taskbar is hidden or not.
I know that I can set the taskbar to remain on top and then maximize the window, but that's not what I want.
The best I've been able to determine, the taskbar acts like a window in some respects, but not all. So some of the normal window commands do not seem to work on the taskbar window.
Thanks,
David Wilkinson