Dear all,
I'm in the middle of implementing a development toolkit. In order to enable users to design interfaces (forms), a form is shown in design-mode by using an IDesignerHost object. It is very powerful and reliable as I can make use of other design-time services like toolbox, properties, selection services, and others.
I need to show mouse coordinates while the mouse moves on a form. I also need to change the mouse-cursor's picture according to the current tool the user is using when drawing on the form. These features must be active when the mouse moves on a form, which implies listenning to mouse_move event.
I tried to make my code listen to this event in the different possible ways I could think of, but none of the solutions worked because it seems that the IDesignerHost object masks the form and blocks the mouse events, so that they cannot be fired.
I will be so grateful if you could help me solve this problem as soon as possible.
Thank you very much for your kind help.

IDesignerHost Blocks Mouse Events
Rick123
Thank you for your reply.
I'm afraid I couldn't make use of the first link. The second link shows how to write tools in the form of libraries so that they can be used from the Visual Studio environment. It is a very good solution. However, I need to build my own environment because I need to implement some services that are not provided within the Visual Studio environment.
Thanx again and have a nice day.
fgatorbit
http://blogs.aspadvice.com/jfuentes/articles/3341.aspx
There is also a way you could get the rootdesigner of the rootcomponent in the Idesignerhost and that might give you some control.
Though it might be better for what you are doing to think about doing your own design surface. Check out.
http://windowsforms.net/articles/shapedesigner.aspx
I'm working on something using this techology myself.