Valentin,
It sounds like you need to add code to each one of the controls that you place inside the container to have a MouseMove method of:
DODEFAULT()
This.Parent.MouseMove()
Doug
>Hello everybody!
>I am having a problem or not doing something rightly, please help.
>I have a container class with a custom mouse move method defined. I want this method be inherited every time of this class. It works only if I don't have any objects inside of container, but not otherwise.
>
>Here is more details:
>Container class - mcontainer - has custom mcontainer.MouseMove Event.
>I create another class testcont, when I drop it on the form, it works and Mouse Move Event works also.
>If I add, for example, shape in testcont class and then plase it on the form only shape.MouseMove will take control, not testcont.MouseMove, but I need a container's MouseMove Event to fire.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only