title: How to detect if autohidden taskbar is visible or not?
body: <p>At the moment I need to detect in C++/Qt if a taskbar, which is set to "autohide" is visible on the screen or not. I have tried already following solution, unfortunately with no success:</p>
  
  <ol>
  <li><p>Checked the autohide state with uState = (UINT) SHAppBarMessage(ABM_GETSTATE, pabd), this only returns whether autohide property is set or not</p></li>
  <li><p>Getting work area with SystemParametersInfo(SPI_GETWORKAREA, 0, &amp;rectWorkArea, 0); Unfortunately the work area is always of size of the entire screen, when taskbar is set to "autohiden", even if it is actually visible on the screen</p></li>
  <li><p>Geting AppBarData with SHAppBarMessage(ABM_GETTASKBARPOS, &amp;abd); With this function I can get both size and coordinates of the taskbar, however they are always returned as if the taskbar is being visible, even if it is hidden.</p></li>
  </ol>
  
  <p>So with those methods I cannot tell, whether taskbar with "autohide" on is at given moment visible on the screen or not :-( </p>
  
  <p>I would appreciate any help :-)</p>