README.md
December 5, 2022 ยท View on GitHub
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 On | 2006-09-08 12:20:02 |
| By | HardStream |
| Level | Intermediate |
| User Rating | 5.0 (15 globes from 3 users) |
| Compatibility | VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, VBA MS Access, VBA MS Excel |
| Category | Coding Standards |
| World | Visual Basic |
| Archive File | Accurate_M201874982006.zip |
API Declarations
GetSystemMetrics
GetWindowRect
GetMenu
GetCursorPos