ABM_GETTASKBARPOS message
Retrieves the bounding rectangle of the Windows taskbar.
fResult = (BOOL) SHAppBarMessage(ABM_GETTASKBARPOS, pabd);
Parameters
-
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.
Return value
Returns TRUE if successful; otherwise, FALSE.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|