It is not easy to do what you are asking due to the nature of vb i.e. that it is only directly aware of what is happening in its own app.
There are various ways of doing this through API calls - eg you can get the window handle of your form then using one of the pointer apis you can determine if a mouse event occured within your handle area or not (this has a performance issue as all mouse events will have to be validated).
Ultimately there is no getting away from the complexity of this task - Are you sure you need to do this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.