Reputation: 61
In C# I need to make something like this:
Any idea how to do that + autohide it with taskbar? It should work like older versions of WMP.
Upvotes: 3
Views: 896
Reputation: 9789
I found this on CodeProject but the code dates back to 2002: http://www.codeproject.com/Articles/2219/Extending-Explorer-with-Band-Objects-using-NET-and
You might consider using the Windows 7/8 preview function when you hover over your taskbar icon however:
http://code.msdn.microsoft.com/WindowsAPICodePack
Look in Samples\Shell\ThumbnailToolbarDemo for a sample demonstrating the ThumbnailToolbar as seen in newer Windows Media Player.
Upvotes: 2
Reputation: 22979
You have to create a Desk Band, which is a COM object implementing the interfaces IDeskBand,IObjectWithSite and IPersistStream and some others depending on the behavior you want (such as IInputObject if you want user input). This is a good starting point on the msdn and here's a CodeProject article about it. This answer on StackOverflow might also be worth looking at.
Upvotes: 2