Solved

Detecting mouse over form

Posted on 1998-08-29
2
145 Views
Last Modified: 2010-04-30
I can detect when the mouse is over the form, but how can you detect when the mouse has left the form.  
0
Comment
Question by:smithgr
2 Comments
 
LVL 1

Accepted Solution

by:
redbaron082997 earned 100 total points
ID: 1431770
Set up your parameters of the form as MAXX, MaxY

in your MouseMoveEvent of the form test for MaxX, MaxY, MinX,MinY, and call an action if either are false.  

I will do code for you if you need it, let me know.
0
 
LVL 1

Author Comment

by:smithgr
ID: 1431771
I guess I'm confused at how to set x,y and then check for it - do you have a code snippet? Thanks a lot!

Gary
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question