I need to create a application which is similar to those we will get when we buy a laptop. It will be visible only when the mouse pointer reaches the top of the window. So how can I able to do this using C# 4.0 ?
http://www.notebookcheck.net/uploads/pics/win2_12.jpg
this link u can see the application. I need to create such type
Any idea pls share. Thanks
I need to create a application which is similar to those we will get
Share
I suppose there are several different ways to achieve this effect:
MouseEnter) and leaves (MouseLeave) the form to move the form up and down.GetCursorPosmethod at a set interval (i.e. each 500ms) second to check where currently the mouse is. See this link for more information about it and a sample code: http://www.pinvoke.net/default.aspx/user32.getcursorpos.(If you need only to check the mouse position, you can use a timer to simplify you application.)