Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Mouse Position
Hi All
I was wondering if there is a function that give you the mouse position because a have this one form I want to either double click a control on a form and to position a frame control beside the mouse? Any Reply would be greatly appriecated. Jason |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Mouse Position
Jason,
The various Mouse events (_MouseDown, _MouseMove, _MouseUp) give the position of the Mouse: Private Sub UserForm_MouseXXX(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single) End Sub Of course, if this is over a control, that control will fire the events rather than the form. NickHK "Jason Zischke" wrote in message ... Hi All I was wondering if there is a function that give you the mouse position because a have this one form I want to either double click a control on a form and to position a frame control beside the mouse? Any Reply would be greatly appriecated. Jason |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Position of the mouse pointer | Excel Programming | |||
State Map, Mouse Position Question | Excel Programming | |||
mouse position in EXCEL | Excel Programming | |||
Mouse Position | Excel Programming | |||
position mouse cursor in msg box | Excel Programming |