Thread: X, Y finder?

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    6

    X, Y finder?

    Hello, i was wondering if there is any program that when you move the mouse to a certain place it tells you what pixels you are on in x, y. I actually need this for a pascal program im writing. Anyhelp would be greatly apreciated

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What OS?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    In Windows a simple GetCursorPos() and a ClientToScreen() should suffice.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Undefined Behaviour (Palindromic Number Finder)
    By pobri19 in forum C++ Programming
    Replies: 12
    Last Post: 09-28-2008, 04:54 AM
  2. Looking for Good Memory-Leak Finder
    By maththeorylvr in forum C Programming
    Replies: 5
    Last Post: 03-11-2006, 01:16 PM
  3. Why <complete program> doesn't works right?
    By Gamer_Jimbo in forum C++ Programming
    Replies: 3
    Last Post: 01-19-2006, 02:28 AM
  4. Personal People Finder
    By Coder87C in forum C++ Programming
    Replies: 1
    Last Post: 02-12-2005, 04:26 PM
  5. IDEA: Perfect number finder
    By ygfperson in forum Contests Board
    Replies: 2
    Last Post: 08-16-2002, 08:45 AM