474,047 Members | 3,073 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dock on Desktop

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
2 6692

"Bill English" <nu****@comcast .net> wrote in message
news:CA******** *************** ***********@mic rosoft.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

"Bill English" <nu****@comcast .net> wrote in message
news:CA******** *************** ***********@mic rosoft.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
340
by: M O J O | last post by:
Hi, In the buttom of my mesktop, I have the processbar (hope that it's called processbar, because I translated it from Danish). If I maximize an application, the processbar is always visible. Now I want to make my form act like the processbar and dock to the left side of the desktop, so if the user maximizes an application then the processbar and my form will always be visible.
2
8085
by: James | last post by:
I have a forms application which has many controls such as buttons,labels,listviews,text boxes etc. If you set the window size to maximum size so that it would expand to the size of the screen the controls tend to move without any proposion. So then I used anchor and the dock property. I could get some or most of them to appear correctly, but say you have to list boxes in the middle of the screen one after the other vertically how could...
1
1394
by: AstronusX | last post by:
How can I make my application dock on windows screen that other appz maximize its screen and it won't stay behind or above my application. My application always visible and no interfene when other application maximize. plz help
2
2709
by: Agnes | last post by:
I got one progress bar , one panel in my form. First , I put the progress bar at the bottom of the form and set "dock" to bottom. It runs very well. then, I put the panel in the form (set the dock to 'bottom') , Now i want that panel at the bottom of the form , the progress bar will be placed uponthe panel. I try to do that. However, the panel cannot placed at the bottom , (is that because I set panel & progress 's dock to bottom??) ...
0
1994
by: A_PK | last post by:
Hi I got the following environment.......Form1 and inside Form1, got Panel1.... I also got another new Form ...named Form2... Form1, Panel1 Form2 Inside Form1, I click a button to show Form2 using the following method... Private Sub ShowForm(ByVal form)
2
3202
by: Usarian Skiff | last post by:
Anyone know how to dock a form to the desktop? To clarify, I want my form to be fixed to the top of the screen, and all maximized forms to not cover up my form or be covered up by my form. Instead their top border should touch the outside of my form's bottom border. Thanks
0
1468
by: myPosts | last post by:
Hi all, I am having problem at a time of using datagrid in c#.net. On currentcell change event of datagrid i am displaying one combobox and setting location of combobox depending on location of current cell selected. When i set dock property of datagrid to top it is working properly. But when i check it to dock bottom it is not displaying combobox at proper
7
5235
by: Zytan | last post by:
I just wanted a little practice with the WebBrowser control, so I did the VB guided tour example here in C#: http://msdn2.microsoft.com/en-us/library/a08t4ke7(VS.80).aspx The tutorial asks to put a Panel with a Button and TextBox in it, and a WebBrowser below it. Then, it sets the Panel's Dock property to be Top. It sets the WebBroswer's Dock property to be Fill. But, the WebBrowser then fills the entire form! Even though the Panel's...
4
2644
by: adrian.bennett | last post by:
I am trying to dock a form to the desktop like the taskbar is but I have been unable to figure out how to do this. Can anyone help? Thanks
0
10349
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
12148
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11604
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
12036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6842
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
5423
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4947
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.