How to handle OnMouseMove (NC_MOUSEMOVE) using C#?
-
I want to check the where are the co-ordinates of mouse using on mouse move Or OnMousehover. I am new to C# pls let me know how to write handlers for MOUSE move or mouse click.
Try googling for 'handling mouse events c#' you'll get loads and loads of hits, some of which might be useful. If google is broken where you are, the MSDN Library is your friend. :)
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
I want to check the where are the co-ordinates of mouse using on mouse move Or OnMousehover. I am new to C# pls let me know how to write handlers for MOUSE move or mouse click.
Supra2 wrote:
I am new to C# pls let me know how to write handlers for MOUSE move or mouse click.
On the controls that you want to detect mouse movement.
*Developer Day Scotland - Free community conference Delegate Registration Open
-
Try googling for 'handling mouse events c#' you'll get loads and loads of hits, some of which might be useful. If google is broken where you are, the MSDN Library is your friend. :)
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
thanks for you reply. it is helpful. I am loading a background image on form and again loading some small images on it and i want to capture move over to these small images and change the cursor shape. I am facing problem here. if u know how to do it...will be helpful...
-
thanks for you reply. it is helpful. I am loading a background image on form and again loading some small images on it and i want to capture move over to these small images and change the cursor shape. I am facing problem here. if u know how to do it...will be helpful...
It depends on how you are loading the small images, and what you are loading them into. You will have to give more information to get a useful reply.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”