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

ITaskbarList4 (shell32)
 
.
Summary
Extends ITaskbarList3, the code is extracted from Windows API Code Pack source code.

C# Signature:

[ComImportAttribute()]
[GuidAttribute("c43dc798-95d1-4bea-9030-bb99e2983a1a")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
internal interface ITaskbarList4
{
     // ITaskbarList
     [PreserveSig]
     void HrInit();
     [PreserveSig]
     void AddTab(IntPtr hwnd);
     [PreserveSig]
     void DeleteTab(IntPtr hwnd);
     [PreserveSig]
     void ActivateTab(IntPtr hwnd);
     [PreserveSig]
     void SetActiveAlt(IntPtr hwnd);

     // ITaskbarList2
     [PreserveSig]
     void MarkFullscreenWindow(
     IntPtr hwnd,
     [MarshalAs(UnmanagedType.Bool)] bool fFullscreen);

     // ITaskbarList3
     [PreserveSig]
     void SetProgressValue(IntPtr hwnd, UInt64 ullCompleted, UInt64 ullTotal);
     [PreserveSig]
     void SetProgressState(IntPtr hwnd, TaskbarProgressBarStatus tbpFlags);
     [PreserveSig]
     void RegisterTab(IntPtr hwndTab, IntPtr hwndMDI);
     [PreserveSig]
     void UnregisterTab(IntPtr hwndTab);
     [PreserveSig]
     void SetTabOrder(IntPtr hwndTab, IntPtr hwndInsertBefore);
     [PreserveSig]
     void SetTabActive(IntPtr hwndTab, IntPtr hwndInsertBefore, uint dwReserved);
     [PreserveSig]
     HResult ThumbBarAddButtons(
     IntPtr hwnd,
     uint cButtons,
     [MarshalAs(UnmanagedType.LPArray)] ThumbButton[] pButtons);
     [PreserveSig]
     HResult ThumbBarUpdateButtons(
     IntPtr hwnd,
     uint cButtons,
     [MarshalAs(UnmanagedType.LPArray)] ThumbButton[] pButtons);
     [PreserveSig]
     void ThumbBarSetImageList(IntPtr hwnd, IntPtr himl);
     [PreserveSig]
     void SetOverlayIcon(
       IntPtr hwnd,
       IntPtr hIcon,
       [MarshalAs(UnmanagedType.LPWStr)] string pszDescription);
     [PreserveSig]
     void SetThumbnailTooltip(
     IntPtr hwnd,
     [MarshalAs(UnmanagedType.LPWStr)] string pszTip);
     [PreserveSig]
     void SetThumbnailClip(
     IntPtr hwnd,
     IntPtr prcClip);

     // ITaskbarList4
     void SetTabProperties(IntPtr hwndTab, SetTabPropertiesOption stpFlags);
}

VB Signature:

Do you know one? Please contribute it!

User-Defined Types:

Do you know one? Please contribute it!

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions