469,645 Members | 1,656 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Auto Hide Docking

EdB
Does VB.Net provide any means of mimicking the behaviour of the auto
hide/docking controls, such as the solution explorer and toolbox?
Nov 21 '05 #1
4 10696
EdB,

In my opinion can this not be difficult (without maybe the smooth flow) when
you use a timer.

However I never saw an automatic timerproperty in a control itself.

I hope this helps?

Cor

"EdB" <Ed*@discussions.microsoft.com> .
Does VB.Net provide any means of mimicking the behaviour of the auto
hide/docking controls, such as the solution explorer and toolbox?

Nov 21 '05 #2
EdB
Cor,

Thanks for the response, but either you are WAY above my head here, or we
are not on the same page.

Within my app, I want to have a user calendar. I thought it would be cool
if that were to be docked to the side and the user could keep it hidden,
showing it when they mouse over, or "flipping the thumb tack" and keeping it
visible.

Ed

"Cor Ligthert" wrote:
EdB,

In my opinion can this not be difficult (without maybe the smooth flow) when
you use a timer.

However I never saw an automatic timerproperty in a control itself.

I hope this helps?

Cor

"EdB" <Ed*@discussions.microsoft.com> .
Does VB.Net provide any means of mimicking the behaviour of the auto
hide/docking controls, such as the solution explorer and toolbox?


Nov 21 '05 #3
Ed,

As I said, I don't know a build in feature, however to let it go to the side
of the form when some time is gone, would probably not be my biggest
chalenge, as I wrote.

Just enable a timer and set the ticks when there is a mouse leave and set it
to false at a mouse enter would be my way to try and when the time is over,
hide the control and show a vertical coloured label in the corner of the
form (where the left side is the most easy one). And when on that label is a
mouse enter, hide that and show the calandar again.

When you want it with a pin I think you have to do the drawing yourself and
check at a mouse down where the mouse is in the control, than it becomes of
course a lot more difficult.

However just an idea, never tried

Cor

"EdB" <Ed*@discussions.microsoft.com>
Cor,

Thanks for the response, but either you are WAY above my head here, or we
are not on the same page.

Within my app, I want to have a user calendar. I thought it would be cool
if that were to be docked to the side and the user could keep it hidden,
showing it when they mouse over, or "flipping the thumb tack" and keeping
it
visible.

Ed

"Cor Ligthert" wrote:
EdB,

In my opinion can this not be difficult (without maybe the smooth flow)
when
you use a timer.

However I never saw an automatic timerproperty in a control itself.

I hope this helps?

Cor

"EdB" <Ed*@discussions.microsoft.com> .
> Does VB.Net provide any means of mimicking the behaviour of the auto
> hide/docking controls, such as the solution explorer and toolbox?


Nov 21 '05 #4
You might want to take a look at this. Full source code provided. We've been
using it for a while now

http://www.codeproject.com/cs/miscct...id=10559&exp=0

Kev
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Brian Mitchell | last post: by
25 posts views Thread by Dennis | last post: by
4 posts views Thread by Enrique | last post: by
1 post views Thread by Aravind | last post: by
1 post views Thread by Joe | last post: by
2 posts views Thread by Matt Brown - identify | last post: by
5 posts views Thread by vunet.us | last post: by
2 posts views Thread by =?Utf-8?B?aGVyYmVydA==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.