Sends an appbar message to the system.
UINT_PTR SHAppBarMessage( DWORD dwMessage, PAPPBARDATA pData );
Appbar message value to send. This parameter can be one of the following values.
Registers a new appbar and specifies the message identifier that the system should use to send notification messages to the appbar.
Unregisters an appbar, removing the bar from the system's internal list.
Requests a size and screen position for an appbar.
Sets the size and screen position of an appbar.
Retrieves the autohide and always-on-top states of the Windows taskbar.
Retrieves the bounding rectangle of the Windows taskbar. 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.
Notifies the system to activate or deactivate an appbar. The lParam member of the APPBARDATA pointed to by pData is set to TRUE to activate or FALSE to deactivate.
Retrieves the handle to the autohide appbar associated with a particular edge of the screen.
Registers or unregisters an autohide appbar for an edge of the screen.
Notifies the system when an appbar's position has changed.
Windows XP and later: Sets the state of the appbar's autohide and always-on-top attributes.
Windows XP and later: Retrieves the handle to the autohide appbar associated with a particular edge of a particular monitor.
Windows XP and later: Registers or unregisters an autohide appbar for an edge of a particular monitor.
A pointer to an APPBARDATA structure. The content of the structure on entry and on exit depends on the value set in the dwMessage parameter. See the individual message pages for specifics.
This function returns a message-dependent value. For more information, see the Windows SDK documentation for the specific appbar message sent. Links to those documents are given in the See Also section.
|Windows version||Windows XP [desktop apps only] Windows 2000 Server [desktop apps only]|
|DLL||Shell32.dll (version 4.0 or later)|