|
-
Jun 27th, 2003, 12:58 AM
#1
Thread Starter
Hyperactive Member
Mouse over activex... Please help...
I am trying to design an activex control that can detect if the mouse is over the control and also detect if the mouse is off the control.
I have tried hittest and mousemove but I'm not really expierianced enough to know what I'm doing.
could someone please help me.
[VBCODE]
Option Explicit
Dim XXX As Porn
Dim Wife As Nag
Private Sub *****_Resize()
On Error Resume Next
Get Viagra
End Sub
[/VBCODE]
-
Jul 4th, 2003, 06:55 AM
#2
You can write code under the Mousemove event I think it's called (could be mouseover - something along those lines), then check the X and Y values (accepted parameters of the event) against the left, top, width and height (or controlwidth & controlheight I think they're called with user controls) to check the cursor position in relation to the form...
i.e.
If X < me.left Then....
-
May 25th, 2004, 07:09 AM
#3
Hyperactive Member
Don't leave it till tomorrow, Do It Now!
5361726176757468204368616E63686F747361746869656E

-
May 25th, 2004, 12:17 PM
#4
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
|