|
Can anyone shed some light on how to capture the X,Y coordinates of a mouse-click on an ActiveX control? I can capture to coordinates if the mouse is clicked anywhere else in the document. And I can capture the coordinates from the click event of the ActiveX control. However, the coordinates returned from the click event of the ActiveX are limited to the X,Y coordinates inside of the control.
Basically, I'm trying to get the X,Y coordinates of the screen when the user clicks on the ActiveX control to display a pop-up menu and I would like the menu to pop-up at the X,Y position of the mouse pointer. I don't really want to use the "oncontextmenu" approach because this page may be accessed from a touch-screen where no right-click is available to the user.
This will be used only in IE 5+ environment.
Many thanks!
|
|
|
|
|
|
|
|