VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Mouse Enter/Exit for all controls (including those without handles)

Phobos  (6 Submissions)   Coding Standards   VB Script   Advanced   Wed 3rd February 2021

This program improves on the work presented by Evan Toder regarding the capture of Mouse Enter and Exit events.
This version will capture events from all controls on a form - including those without hwnd properties (such as labels, images etc).
The program can also handle control arrays, and controls that are nested in containers.
You also have the ability to choose which controls have their mouse enter/exit events reported. Mousewheel events have also been added.

Assumes
In order for monitoring to take place you must put a "Skinned" label in the control's tag field.

Returns
MouseEnter, MouseExit, MouseWheelUp and MouseWheelDown Events are generated.

Side Effects
This program uses subclassing so care should be taken in how it's applied. If you don't like subclassing the program is easily modifield to using a timer field.

Rate Mouse Enter/Exit for all controls (including those without handles) (5(5 Vote))

Download Mouse Enter/Exit for all controls (including those without handles)

Mouse Enter/Exit for all controls (including those without handles) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters