Taskbar application

Can you give an example of how to place the application form on the taskbar? as a Windows media player or windows search while minimizing.

+7
c # windows-taskbar
source share
2 answers

What you are looking for is the creation of the Application Desktop Toolbar (also known as the AppBar). The main function that you use to register your application window as an AppBar, SHAppBarMessage .

To get started, you can look at this old C ++ application panel example . If you want to do this in C #, there is a thread that discusses some information on how to do this in WPF . I do not know examples of how to do this with WinForms, but a quick search on the Internet should bring something.

Update: Actually, if you want the toolbar to be on the taskbar, you need to implement Deskband. Here is a sample DeskBand in C ++ and here is a DeskBand in C # .

What happens when you don’t touch the topic after a while. :-)

+9
source share

This is actually called the System Tray. You want your application to have an icon on the Windows taskbar. Many languages ​​provide this functionality.

Here are some links:

http://www.codeguru.com/Cpp/COM-Tech/shell/icons/article.php/c1335

http://www.codeproject.com/KB/shell/systemtray.aspx

-one
source share

All Articles