[Now Supported on Windows NT]
Sends an appbar message to the system.
WINSHELLAPI UINT APIENTRY SHAppBarMessage(
| DWORD dwMessage, | |
| PAPPBARDATA pData | |
| ); |
Parameters
dwMessage
Identifier of the appbar message to send. This parameter can be one of the following values:
| ABM_ACTIVATE | Notifies the system that an appbar has been activated. |
| ABM_GETAUTOHIDEBAR | Retrieves the handle of the autohide appbar associated with a particular edge of the screen. |
| ABM_GETSTATE | Retrieves the autohide and always-on-top states of the Windows taskbar. |
| ABM_GETTASKBARPOS | Retrieves the bounding rectangle of the Windows taskbar. |
| ABM_NEW | Registers a new appbar and specifies the message identifier that the system should use to send notification messages to the appbar. |
| ABM_QUERYPOS | Requests a size and screen position for an appbar. |
| ABM_REMOVE | Unregisters an appbar, removing bar from the system's internal list. |
| ABM_SETAUTOHIDEBAR | Registers or unregisters an autohide appbar for an edge of the screen. |
| ABM_SETPOS | Sets the size and screen position of an appbar. |
| ABM_WINDOWPOSCHANGED | Notifies the system when an appbar's position has changed. |
pData
Pointer to an APPBARDATA structure. The content of the structure depends on the value of dwMessage.
Return Values
Returns a message-dependent value. For more information, see the documentation for the individual appbar messages.
See Also