MouseOver Detection using GetCursorPos API

Category:
System/API
Type:
Modules
Difficulty:
Beginning
Author:
Rob S

Version Compatibility: Visual Basic 6

More information:
This module shows you how to detect when the mouse is over a control using the GetCursorPos API function. As compared to capturing the MouseMove event, this method is more reliable in terms of detecting when the mouse is moved off the control.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download mouseoveranimation.zip