Results 1 to 3 of 3

Thread: Newbie Question: Getting X & Y of mouseclick in picturebox [RESOLVED]

  1. #1

    Thread Starter
    Hyperactive Member Bloged's Avatar
    Join Date
    May 2001
    Location
    Rotterdam, The Netherlands
    Posts
    330

    Newbie Question: Getting X & Y of mouseclick in picturebox [RESOLVED]

    Hi everyone!

    I want te get the x and y of the position where the users clicks with his mouse in my picturebox. So topleft of my picturebox is 0,0!

    Thnx in advance,

    Grtz,

    Bloged
    Last edited by Bloged; Mar 9th, 2004 at 08:32 AM.

  2. #2
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    Hi.

    In MouseDown, MouseUp and MousseMove events you can use e.x and e.y.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  3. #3

    Thread Starter
    Hyperactive Member Bloged's Avatar
    Join Date
    May 2001
    Location
    Rotterdam, The Netherlands
    Posts
    330
    Thnx pax that solved the 'problem'

    Grtz,

    Bloged

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width