README.md

December 5, 2022 ยท View on GitHub

Accurate MouseOver function

Description

This is probably the most accurate MouseOver function that doesn't need a handle (hWnd) input. It gets the rectangle of the control on the screen in pixels by looking to the position of the parent form and the position of the control in the form. The code also checks if the form has got a menu bar. Anywayz, just check out the code :D

More Info

Obj As Object

True or False

Works most accurate with border style 2. I'm currently working on support for all border styles.

Submitted On2006-09-08 12:20:02
ByHardStream
LevelIntermediate
User Rating5.0 (15 globes from 3 users)
CompatibilityVB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, VBA MS Access, VBA MS Excel
CategoryCoding Standards
WorldVisual Basic
Archive FileAccurate_M201874982006.zip

API Declarations

GetSystemMetrics
GetWindowRect
GetMenu
GetCursorPos