Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to handle OnMouseMove (NC_MOUSEMOVE) using C#?

How to handle OnMouseMove (NC_MOUSEMOVE) using C#?

Scheduled Pinned Locked Moved C#
csharptutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Supra2
    wrote on last edited by
    #1

    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.

    H C 2 Replies Last reply
    0
    • S Supra2

      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.

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      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.”

      S 1 Reply Last reply
      0
      • S Supra2

        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.

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • H Henry Minute

          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.”

          S Offline
          S Offline
          Supra2
          wrote on last edited by
          #4

          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...

          H 1 Reply Last reply
          0
          • S Supra2

            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...

            H Offline
            H Offline
            Henry Minute
            wrote on last edited by
            #5

            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.”

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups