0

I have defined the windows taskbar as auto-hiding. Now I am showing for a way to show the taskbar from C#-code. Can somebody help me perhaps with a little code-snipped?

BennoDual
  • 5,865
  • 15
  • 67
  • 153

1 Answers1

0

The taskbar in an AppBar. Which can be controlled using the SHAppBarMessage API.

Here is a separate article on AppBar's which can help you better understand how to use the API: http://www.codeproject.com/Articles/3728/C-does-Shell-Part-3

Edit: If you need to find the handle for the Taskbar itself, you can use the FindWindow method. The taskbar is named "Shell_traywnd"

Blachshma
  • 17,097
  • 4
  • 58
  • 72