By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,949 Members | 1,455 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,949 IT Pros & Developers. It's quick & easy.

Dock on Desktop

P: n/a
Does anyone know how to dock a window on the desktop? A good example is AOL Instant Messenger. It has the option to dock on the desktop. When docked, it takes the sizable tool FormBorderStyle.

--
I am a 14 year old C# developer, I am completely self taught, so please don't get mad if I ask a stupid question. Thanks.
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Bill English" <nu****@comcast.net> wrote in message
news:CA**********************************@microsof t.com...
Does anyone know how to dock a window on the desktop? A good example is AOL Instant Messenger. It has the option to dock on the desktop. When
docked, it takes the sizable tool FormBorderStyle.
--
I am a 14 year old C# developer, I am completely self taught, so please

don't get mad if I ask a stupid question. Thanks.

Hi Bill.

This is not a trivial task. However, there are plenty of components that
does this for you.
I have none written in C#, but I could direct you to a couple of free open
Delphi components.
However, porting Delphi VCL to C# WinForm is quite a challange.

Anyways, happy coding.

- Michael S
Nov 16 '05 #2

P: n/a

"Bill English" <nu****@comcast.net> wrote in message
news:CA**********************************@microsof t.com...
Does anyone know how to dock a window on the desktop? A good example is
AOL Instant Messenger. It has the option to dock on the desktop. When
docked, it takes the sizable tool FormBorderStyle.


Yes, this is a feature of windows called an "appbar" or an Application
Desktop Toolbar. It requires some windows specific calls to set up the
application, so you have to do some goop work if you want to write it
entirely from scratch. There is a good article on it at
http://www.codeproject.com/csharp/csdoesshell3.asp
That article also provides a base class that will do the work for you if you
are just looking to write the application, not learn how to do it, ;).
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.