how to create a docking desktop toolbar in C# .net 2.0

G

Guest

How can I create a docking desktop tool bar in C# .net 2.0...This tool bar
should dock on any side like the windows taskbar.

I have created such toolbar in Visual C++ 6.0, but can't figure out how to
do it in C#
 
M

Michael Nemtsev, MVP

Hello Ashutosh,

Start from this article http://www.codeproject.com/cs/miscctrl/magicdocking.asp


---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


A> How can I create a docking desktop tool bar in C# .net 2.0...This
A> tool bar should dock on any side like the windows taskbar.
A>
A> I have created such toolbar in Visual C++ 6.0, but can't figure out
A> how to do it in C#
A>
 
A

Ashutosh

I have already gone through such posts.
In visual C++ (MFC) its possible to set some properties of the dialog box to
make it dockable on the desktop....

I don't want to use any extra code as I have to keep the application
compact. So, I am looking for something inbuilt.
 
M

Michael Nemtsev, MVP

Hello Ashutosh,

there is no inbuild for this

I recomment to ask guys at winforms group how to use the extra code compact
us much possbile

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


A> I have already gone through such posts.
A> In visual C++ (MFC) its possible to set some properties of the dialog
A> box to
A> make it dockable on the desktop....
A> I don't want to use any extra code as I have to keep the application
A> compact. So, I am looking for something inbuilt.
A>
A> A>
Hello Ashutosh,

Start from this article
http://www.codeproject.com/cs/miscctrl/magicdocking.asp

---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we
miss it, but that it is too low and we reach it" (c) Michelangelo
A> How can I create a docking desktop tool bar in C# .net 2.0...This
A> tool bar should dock on any side like the windows taskbar.
A> A> I have created such toolbar in Visual C++ 6.0, but can't figure
out
A> how to do it in C#
A
 
L

Linda Liu [MSFT]

Hi Ashutosh,

I agree with Michael that there's no inbuild property for a WinForm to make
it dockable on the desktop.

I found a good sample in C# from the codeproject web site. The sample
developed a class named ApplicationDesktopToolbar, which inherits
System.Windows.Forms.Form. When you want to make your application dockable
on the desktop, all you need to do is to inherit from
ApplicationDesktopToolbar instead of System.Windows.Forms.Form.

The following is the link of the sample:
http://www.codeproject.com/csharp/csdoesshell3.asp

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
L

Linda Liu [MSFT]

Hi Ashutosh,

How about the problem now?

If you need our further assistance, please feel free to let us know.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top