472,125 Members | 1,543 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,125 software developers and data experts.

sliding controls help required

Hi,

Can any one help me creating a control, which slides on any particular
event.

The scenario is something like this: -

I have a form, which loads a user control. On load of the form this user
control is not visible, but if I move the mouse to the lower region of this
form, the user control should be visible, but it should appear sliding mode.

If I take the mouse away, it should disappear again in sliding mode only.

Implemntation is in C#

Quick solution or Comments will be highly appreciated.

Regards,

Parwez
Nov 16 '05 #1
2 2403
You can use a docking window like VS.Net uses for holding your
usercontrol. Check out these two sites for some good implementations

http://www.divil.co.uk
http://www.dacris.com/netxp

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

Mohammad Parwez wrote:
Hi,

Can any one help me creating a control, which slides on any particular
event.

The scenario is something like this: -

I have a form, which loads a user control. On load of the form this user
control is not visible, but if I move the mouse to the lower region of this
form, the user control should be visible, but it should appear sliding mode.

If I take the mouse away, it should disappear again in sliding mode only.

Implemntation is in C#

Quick solution or Comments will be highly appreciated.

Regards,

Parwez

Nov 16 '05 #2
Just use a timer to update the Location of the control.

--
Bob Powell [MVP]
Visual C#, System.Drawing

The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml


"Mohammad Parwez" <pa****@microsoft.com> wrote in message
news:cg**********@news.mch.sbs.de...
Hi,

Can any one help me creating a control, which slides on any particular
event.

The scenario is something like this: -

I have a form, which loads a user control. On load of the form this user
control is not visible, but if I move the mouse to the lower region of this form, the user control should be visible, but it should appear sliding mode.
If I take the mouse away, it should disappear again in sliding mode only.

Implemntation is in C#

Quick solution or Comments will be highly appreciated.

Regards,

Parwez

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Developwebsites | last post: by
10 posts views Thread by Alphonse Giambrone | last post: by
3 posts views Thread by Chris | last post: by
1 post views Thread by Guadala Harry | last post: by
2 posts views Thread by Lonewolf | last post: by
reply views Thread by leo001 | last post: by

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.