>I have an control (container or pageframe) that contains other controls. Over this control is a transparent shape that intercepts all mouse clicks (user will not directly mouse-click on the underlying controls). I want to be able to pass the mouse click to an underlying control when the user presses the Ctrl-Mouse-Click. I know how to test for the control key pressed in the mouse events -- the question is how to determine the object that is underneath the transparent shape at the mouse coordinates? Thank you.
Take a look at ASELOBJ, I think it is what you are looking for.
err... I meant AMOUSEOBJ
err... OK, I think I need to have my lunch... first you must send the transparent shape to the bottom (or make it invisible?) then call AMOUSEOBJ to get the referenced object, and then restore the shape, I think this is what we do
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges