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. mouse pointer position

mouse pointer position

Scheduled Pinned Locked Moved C#
question
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.
  • V Offline
    V Offline
    vatzcar
    wrote on last edited by
    #1

    how can i determine the axis of mouse pointer from any method?

    D E 2 Replies Last reply
    0
    • V vatzcar

      how can i determine the axis of mouse pointer from any method?

      D Offline
      D Offline
      Daniele Ferrero
      wrote on last edited by
      #2

      watch this post: http://www.codeproject.com/script/comments/forums.asp?forumid=1649&fr=51

      1 Reply Last reply
      0
      • V vatzcar

        how can i determine the axis of mouse pointer from any method?

        E Offline
        E Offline
        engsrini
        wrote on last edited by
        #3

        this.Cursor = new Cursor(Cursor.Current.Handle); Cursor.Position = new Point(Cursor.Position.X - 50, Cursor.Position.Y - 50);

        V 1 Reply Last reply
        0
        • E engsrini

          this.Cursor = new Cursor(Cursor.Current.Handle); Cursor.Position = new Point(Cursor.Position.X - 50, Cursor.Position.Y - 50);

          V Offline
          V Offline
          vatzcar
          wrote on last edited by
          #4

          this code will set the position of mouse pointer. but i want to retrieve the position.

          E 1 Reply Last reply
          0
          • V vatzcar

            this code will set the position of mouse pointer. but i want to retrieve the position.

            E Offline
            E Offline
            engsrini
            wrote on last edited by
            #5

            hello the same pa. string xValue = Cursor.Position.X.ToString () ; string yValue = Cursor.Position.Y.ToString();

            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