<Return[S]><Top>

SHAppBarMessage

Declare Function Api_SHAppBarMessage& Lib "shell32" Alias "SHAppBarMessage" (ByVal dwMessage&, pData As APPBARDATA)

Declare Function SHAppBarMessage Lib "shell32" Alias "SHAppBarMessage" (ByVal dwMessage As Long, pData As APPBARDATA) As Long

アプリケーションバーのメッセージをシステムに送る。

パラメータ
dwMessage
    Appbar message value 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 to the autohide appbar associated with a particular edge of the screen.
    ABM_GETSTATE                        Retrieves the autohide and always-on-top states of the Microsoft 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 the 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_SETSTATE                         Sets the state of the appbar's autohide and always-on-top attributes.
    ABM_WINDOWPOSCHANGED   Notifies the system when an appbar's position has changed.
pData
    The address of an APPBARDATA structure. The content of the structure depends on the value set in the dwMessage parameter.

戻り値
    This function returns a message-dependent value. For more information, see the Windows Software Development Kit (SDK) 

    documentation for the appbar message sent.