sliding controls help required

  • Thread starter Thread starter Mohammad Parwez
  • Start date Start date
M

Mohammad Parwez

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
 
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
 
Back
Top