G
Guest
Hi,
Is it possible to trap the right-click event during a show & determine which
object is under the cursor at the time? (VBA)
What I have is an object on the screen which is a timer. What I want to do
is to trap the right-click before the menu appears so that I can test if the
object under the mouse pointer is a timer. If so, I want to add a couple of
items to the menu before it gets displayed. If not, then I want to make sure
those items are not there.
Sincethere could be a number of timers on-screen at a given time, it is
important to know which one is being referenced by the menu (even if it turns
out the items have to be there all the time!) The extra menu items are to
start / stop / reset the timers.
TIA for any help you can offer
Paul
Is it possible to trap the right-click event during a show & determine which
object is under the cursor at the time? (VBA)
What I have is an object on the screen which is a timer. What I want to do
is to trap the right-click before the menu appears so that I can test if the
object under the mouse pointer is a timer. If so, I want to add a couple of
items to the menu before it gets displayed. If not, then I want to make sure
those items are not there.
Sincethere could be a number of timers on-screen at a given time, it is
important to know which one is being referenced by the menu (even if it turns
out the items have to be there all the time!) The extra menu items are to
start / stop / reset the timers.
TIA for any help you can offer
Paul