Reputation: 8350
I have created a taskbar using tabcontrols which works similarly to the Windows taskbar. I want to make my own taskbar fixed on top of the windows.
It should not be movable, resizable, and it should be "docked" to the top.
Upvotes: 2
Views: 1782
Reputation: 9244
A long long time ago Jeffery Richter demonstrated how to do a true taskbar in a sample called AppBar (I've used it myself as a boiler plate), so here are some pages that may be of interest:
http://www.google.com/search?q=Jeffrey+Richter+appbar+c#
Upvotes: 1
Reputation: 13488
I have not tried to do this, but my first attempt would be the following:
Something you might consider: how will you handle multiple screens?
You'll likely want to add a context menu allowing you to exit the application, since it won't have the normal system buttons. Also, you might consider what happens when the user presses ALT-F4: will your program close? If not, you'll need to add some code in the FormClosing event handler to cancel closing.
Hope this sets you in the right direction!
Upvotes: 3