Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to dock an application in the Windows desktop?

I would like to develop a small notifications application for Windows in .NET that docks on the right/left side of the screen (not consuming more than 300px), should always be visible and force the rest of windows to not overlap this application (something like the old Office taskbar or Vista's Sidebar). I have no idea where to start. Can it be done using XAML/WPF? Since I haven't even started coding any option is valid at this point.

Thanks!

like image 231
sachaa Avatar asked May 07 '10 22:05

sachaa


People also ask

How do I add an app to my dock on my computer?

Go to Finder > Applications and open the Office app you want. In the Dock, Control+click or right-click the app icon and choose Options > Keep in Dock.

How do I dock my desktop?

Click the Dock to Desktop button on the Quick Access toolbar. Click the Dock to Desktop button on the View tab. Press Ctrl+Alt+D.

Where is the dock on Windows?

The dock is the bar of icons that usually appears at the bottom of your screen. The dock offers a quick way to launch and manage applications.


1 Answers

The most reliable way would be to register your application as an Application Desktop Toolbar (AppBar).

You will need to interop to do this, here is a Code Project article on doing this with C#, it should be a fair starting point. http://www.codeproject.com/KB/dotnet/AppBar.aspx

like image 118
Chris Taylor Avatar answered Oct 02 '22 07:10

Chris Taylor