CodeBase - Find if the mouse is over the DBP Window

Return to the CodeBase listing

Category: System

Version: 1.0

0
0

Information

Uploaded: 4th Sep 2004 08:05

Modified: 18th Apr 2006 05:26

Author:  Dave J

Summary

Returns a value if the mouse is over the DBP window or not.

Full Description

Loads the &quot;User32.DLL&quot; and calls 3 WinAPI functions to determine wether the mouse is hovering over the DBP window or not. Not really that much use but I had to write it for someone so I decided to submit it anyway. The function will return a '-1' if there was an error (unlikely lol), a '0' if the mouse is outside the DBP window and a '1' if it's inside the DBP window.<br /> <br /> This snippet is probably more useful in displaying how the Win32 API can be used within DBP to return values and then extract those values through memblocks.

Comments

No comments yet.