S
Stefan
Hello,
I want to be able to capture UserControl mouse events by the container of
the UC.
My final goal is to be able to move at run-time the UC in the container. I
have been able to do this with regular controls, by capturing the
MouseDown,MouseMove and MouseUp events. But when it comes to UserControls,
the mouse events are captured by the UC's different controls and not the
container.
I have tried setting the Capture property of the container to True but it
does'nt help.
If someone knows the answer to this, please let me know.
Thanks
I want to be able to capture UserControl mouse events by the container of
the UC.
My final goal is to be able to move at run-time the UC in the container. I
have been able to do this with regular controls, by capturing the
MouseDown,MouseMove and MouseUp events. But when it comes to UserControls,
the mouse events are captured by the UC's different controls and not the
container.
I have tried setting the Capture property of the container to True but it
does'nt help.
If someone knows the answer to this, please let me know.
Thanks