ABM_QUERYPOSABM_QUERYPOS*
*Contents  *Index  *Topic Contents
*Previous Topic: ABM_NEW
*Next Topic: ABM_REMOVE

ABM_QUERYPOS

Requests a size and screen position for an appbar. When the request is made, the message proposes a screen edge and a bounding rectangle for the appbar. The system adjusts the bounding rectangle so that the appbar does not interfere with the Windows taskbar or any other appbars.

Syntax

SHAppBarMessage(ABM_QUERYPOS, pabd); 

Parameters

pabd
Address of an APPBARDATA structure. The uEdge member specifies a screen edge, and the rc member contains the proposed bounding rectangle. When the SHAppBarMessage function returns, rc contains the approved bounding rectangle. You must specify the cbSize, hWnd, uEdge, and rc members when sending this message; all other members are ignored.

Return Values

Always returns TRUE.

Remarks

An appbar should send this message before sending the ABM_SETPOS message.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.