G
Guest
I have a UserControl that I have a SplitContainer in.
I have placed several Controls in the panel1 and 2 of the split container
and I want to be able to do a "GetChildAtPoint" when clicking on the
UserControl.
However, all I get is the SplitContainer as result. How can I disregard the
splitcontainer or how could I find the control underneath the mouse when
clicking.
I already to PointToClient on the X and Y gotten from MouseDown and pass
that point to GetChildAtPoint and that's when it fails to get the child I
clicked on. It gets its parent i.e. the SplitContainer.
Greatful for any help at all.
I have placed several Controls in the panel1 and 2 of the split container
and I want to be able to do a "GetChildAtPoint" when clicking on the
UserControl.
However, all I get is the SplitContainer as result. How can I disregard the
splitcontainer or how could I find the control underneath the mouse when
clicking.
I already to PointToClient on the X and Y gotten from MouseDown and pass
that point to GetChildAtPoint and that's when it fails to get the child I
clicked on. It gets its parent i.e. the SplitContainer.
Greatful for any help at all.