description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
Retrieves the bounding rectangle of the Windows taskbar. |
8072bb2d-05e6-4baa-a7f4-1377b94fdd45 |
ABM_GETTASKBARPOS message (Shellapi.h) |
reference |
05/31/2018 |
Retrieves the bounding rectangle of the Windows taskbar.
fResult = (BOOL) SHAppBarMessage(ABM_GETTASKBARPOS, pabd);
-
pabd
-
A pointer to an APPBARDATA structure whose rc member receives the bounding rectangle, in screen coordinates, of the taskbar. You must specify the cbSize when sending this message; all other members are ignored.
Returns TRUE if successful; otherwise, FALSE.
Note that this applies only to the system taskbar. Other objects, particularly toolbars supplied with third-party software, also can be present. As a result, some of the screen area not covered by the Windows taskbar might not be visible to the user. To retrieve the area of the screen not covered by both the taskbar and other app bars the working area available to your application , use the GetMonitorInfo function.
Requirement | Value |
---|---|
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|