Serialcoder en Français Serialcoder in English
TEL : +33 (0)9 72 13 15 17

Windows Forms FAQ

11. Windows Forms Mouse Handling

11.1 How can I resize a borderless form with a rubber-band effect?
11.2 How do I get a mouse cursor position in my control's client coordinates?
11.3 How can I catch the mouse being over a control?
11.4 How do I set the mouse cursor position?
11.5 How can I reset the OnMouseHover timer so that it will fire again without the mouse having to leave the client area of a control?
11.6 How can I drag a window if it doesn't have a title bar or border?
11.7 How can I determine if a mouse button is pressed and moving over my form?
11.8 Why am I not receiving MouseLeave messages in a Control in my Form?

 

Windows forms FAQ