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

Dockable windows

P: n/a
Bob
Hi,

I was wondering if anyone could point me to info on the best way to create a
dockable window. I have seen plenty of posts about dockable controls that
run within windows but I want the actual main window to dock, probably to
the taskbar.

I'd like it smart enough to adjust position if the taskbar height is
increased or decerased.

Anyway, if anyone has done this using VB.Net and can help me out I'd
appreciate it.

Cheers
Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi Bob,

Are you talking about the standard option or are you talking about a special
by you made taskbar or an other one you have?

Cor
I was wondering if anyone could point me to info on the best way to create a dockable window. I have seen plenty of posts about dockable controls that
run within windows but I want the actual main window to dock, probably to
the taskbar.

I'd like it smart enough to adjust position if the taskbar height is
increased or decerased.

Anyway, if anyone has done this using VB.Net and can help me out I'd
appreciate it.

Cheers

Nov 20 '05 #2

P: n/a
Bob
Standard option? What standard option?

I am talking about creating a single Winform app that looks like a toolbar
but most importantly docks to the taskbar (or side of screen). All examples
i have seen so far are related to docking controls within a Winfor app. I
want to dock the Winfor app itself.

I think it is really just a matter of me figuring out how to determine the
height of the taskbar and then set the top and left properties of the
window.... not sure how do this though...

Cheers

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Bob,

Are you talking about the standard option or are you talking about a special by you made taskbar or an other one you have?

Cor
I was wondering if anyone could point me to info on the best way to create
a
dockable window. I have seen plenty of posts about dockable controls

that run within windows but I want the actual main window to dock, probably to the taskbar.

I'd like it smart enough to adjust position if the taskbar height is
increased or decerased.

Anyway, if anyone has done this using VB.Net and can help me out I'd
appreciate it.

Cheers


Nov 20 '05 #3

P: n/a
Hi Bob,

I do not see this problem, you can locate your form everywhere on the screen
by using the me.location, what is your problem in this?

A problem can be to have it always on top, however there is a lot of
questions been in this newsgroup about dockable toolbars, have a look at
them.

http://tinyurl.com/52uxr

I hope this helps?

Cor
Nov 20 '05 #4

P: n/a
* "Bob" <1@2.3> scripsit:
I was wondering if anyone could point me to info on the best way to create a
dockable window. I have seen plenty of posts about dockable controls that
run within windows but I want the actual main window to dock, probably to
the taskbar.

I'd like it smart enough to adjust position if the taskbar height is
increased or decerased.


Fred Balsinger: A Windows Forms Application Desktop Toolbar
<URL:http://www.gotdotnet.com/userfiles/FredB/AppBars.zip>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5

P: n/a
Go to MSDN and search for AppBar. I believe the sample they give is written
in C++. We converted this sample to C#. Ours is not complete, i.e. only
supports docking to the top of the screen. There are a couple of issues we
did not address, like auto close but I could e-mail you the code as a
starting point.

-B-

"Bob" <1@2.3> wrote in message news:OD**************@tk2msftngp13.phx.gbl...
Hi,

I was wondering if anyone could point me to info on the best way to create a dockable window. I have seen plenty of posts about dockable controls that
run within windows but I want the actual main window to dock, probably to
the taskbar.

I'd like it smart enough to adjust position if the taskbar height is
increased or decerased.

Anyway, if anyone has done this using VB.Net and can help me out I'd
appreciate it.

Cheers

Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.