Thread: mouse help

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    35

    mouse help

    hey any one of u plz help me actually i have to submit my project interface till 1 jan an i cant understand one thing actually whole program is controlled by mouse an i have to call a funtion with mouse means without mouse we use switch statement to handle multiple options but in this case how it works what can i do plz help me

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    The first thing you can do is rewrite your question, since I have no idea what you're asking other than the fact it might have something to do with a mouse.

    I'm not saying this to be mean, but you honestly might want to work on your English before you work on your C++.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    35
    uuuuuuuuuuuuuuuufffffffffffff i know i m not good in english

    my question is
    in c++ we select switch options or what ever with key board but in my program i have to select those options with mouse let c i have an option to enter data in array first i have to click this option with mouse and after that control goes to that particular function and after that returns

  4. #4
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    There's no standard way in C++ to do this.

    You have to rely on O/S specific methods (or a library that is cross-platform). What operating system are you programming this for?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need Help in Mouse Pointer
    By obaid in forum C++ Programming
    Replies: 3
    Last Post: 12-07-2006, 03:33 AM
  2. Problem in mouse position
    By Arangol in forum Game Programming
    Replies: 6
    Last Post: 08-08-2006, 07:07 AM
  3. Mouse scroll stopped working
    By Waldo2k2 in forum Tech Board
    Replies: 2
    Last Post: 10-12-2004, 11:25 AM
  4. Making a mouse hover button, API style
    By hanhao in forum C++ Programming
    Replies: 1
    Last Post: 05-27-2004, 06:17 AM
  5. Game Design Topic #2 - Keyboard or Mouse?
    By TechWins in forum Game Programming
    Replies: 4
    Last Post: 10-08-2002, 03:34 PM