Andrea V.F. wrote:
Your suggestion works if a component is on a Form, but not if the
component is on a Panel (as in my case).
If the control returned from Form.GetControl AtPoint is a container
control, then you need to call *its* GetControlAtPoi nt method, and so
on recursively until you end up with a control that isn't a container,
or Nothing, which means you are on a blank part of the container. Make
sure to transform your Point appropriately on the way down.
It might be easier to hook up all your form's controls' MouseMove event
to a single event handler.
--
Larry Lard
Replies to group please