Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 1.72 KB

abm-gettaskbarpos.md

File metadata and controls

52 lines (28 loc) · 1.72 KB
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

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
Shellapi.h