Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SHAppBarMessage" in [All]

shell32

.
Summary
Structure for using SHAppBarMessage. Also needs the RECT structure.
.
Summary
.

Initialy the C# signature in this article used a public static readonly int for cbSize so it could be initialized inline but the static field is then no longer where you expect it to be in memory so the call to SHAppBarMessage() fails. The field cannot be static.

.
Summary
The SHAppBarMessage API. Uses the APPBARDATA structure.
.

static extern IntPtr SHAppBarMessage(uint dwMessage,

.

  Shared Function SHAppBarMessage(ByVal dwMessage As Integer, ByRef pData As APPBARDATA) As Integer

.

    Shared Function SHAppBarMessage(ByVal dwMessage As Integer, ByRef pData As APPBARDATA) As Integer

.

    Dim ret As Long = SHAppBarMessage(CType(ABMsg.ABM_NEW, Integer), abd)

.

    SHAppBarMessage(ABMsg.ABM_REMOVE, abd)

.

    SHAppBarMessage(CType(ABMsg.ABM_QUERYPOS, Integer), abd)

.

    SHAppBarMessage(CType(ABMsg.ABM_SETPOS, Integer), abd)

.

    lRet = SHAppBarMessage(ABMsg.ABM_SETAUTOHIDEBAR, abd)

.

        state = SHAppBarMessage(CType(ABMsg.ABM_GETSTATE, Integer), ABD)

.

        hWndAppBar = SHAppBarMessage(CType(ABMsg.ABM_GETAUTOHIDEBAR, Integer), ABD)

.

        tsize = SHAppBarMessage(CType(ABMsg.ABM_GETTASKBARPOS, Integer), ABD)

.
Documentation
[SHAppBarMessage] on MSDN

 
Access PInvoke.net directly from VS: