Thread: Mouse Clicks

  1. #1
    Unregistered
    Guest

    Mouse Clicks

    How do I detect a mouse click and the coordinate of it in C++?

    Thanks in advance.

  2. #2
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    The easiest way is to use a mouse library. Mouse++ is pretty good if you're using Borland or Turbo.

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Is there a mouse library for C?

  4. #4
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    Certainly! Go to programmersheaven.com and search for mouse. You'll find quite a few libraries.

  5. #5
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    Also...

    There's also some Mouse routines if you follow the links in the links section on this page.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Monitor Mouse Clicks
    By mmarab in forum Windows Programming
    Replies: 10
    Last Post: 09-04-2007, 04:52 AM
  2. Replies: 2
    Last Post: 05-31-2006, 06:57 PM
  3. Replies: 6
    Last Post: 07-27-2002, 01:24 AM
  4. Replies: 1
    Last Post: 06-06-2002, 04:17 PM