Browse DevX
Sign up for e-mail newsletters from DevX

Code Download

The MB MouseHelper Control

Date: Aug 26, 2000
Author: Marco Bellinaso
Description: This ActiveX gives you the complete control over the mouse. The MouseEnter and MouseLeave events tell you when the mouse cursor enters or leaves any control on the form, which lets you create cool hot-tracking effects. The MouseWheel event fires when the mouse wheel is rotated, so you can use this event to let the end user scroll a horizontal scroll or zoom in/out, as in Internet Explorer. There are also several methods that let you move, snap or clip the cursor where you want, to load an animated cursor, to simulate the Click, DblClick, MouseDown, MouseUp events, as well as to retrieve all the information related to the mouse, such as the cursor position, the button state, the swapped buttons state, and the window or the control under the cursor. Get the source code.

Click here to download the file.

Thanks for your registration, follow us on our social networks to keep up-to-date