ABM_SETPOS
Sets the size
and screen position of an appbar. The message specifies a screen edge to 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.
SHAppBarMessage(ABM_SETPOS, pabd);
Parameters
pabd
Pointer to 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.
This message
causes the system to send the ABN_POSCHANGED notification message to all
appbars.
See Also