|
-
May 25th, 2000, 09:34 PM
#1
Thread Starter
Addicted Member
Basically I am trying to detect whether or not the cursor is over a particular control on the form.
Ie: If the cursor is over a Command Button, cause the command button to do something. (change images or whatever)
I know about how to query the API call to find out where the mouse is on the screen. And I can translate it into pixels and such. My question revolves basically around 'how do I tell where on the screen the cursor is relative to a control.'
Reason being that I am trying to create a custom control that performs an action when the Mouse is over it.
I KNOW there is a way to do it.. I just haven't found it yet. Any help will be much appreciated.
Thanks,
EireDrake
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|