Contents Index Topic Contents | ||
Previous Topic: ABM_SETAUTOHIDEBAR Next Topic: ABM_WINDOWPOSCHANGED |
ABM_SETPOS
Sets the size and screen position of an appbar. The message specifies a screen edge and the bounding rectangle for the appbar. The system may adjust the bounding rectangle so that the appbar does not interfere with the Windows taskbar or any other appbars.
Syntax
SHAppBarMessage(ABM_SETPOS, pabd);Parameters
- pabd
- Address of an APPBARDATA structure. The uEdge member specifies a screen edge, and the rc member contains the 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
This message causes the system to send the ABN_POSCHANGED notification message to all appbars.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.