Results 1 to 3 of 3

Thread: Is it possible to do graphics features with Mouse in C

  1. #1
    Expert Member
    Join Date
    May 2006
    Answers
    114

    Is it possible to do graphics features with Mouse in C

    Hi,
    I am concentrating on graphics side of C programming and I could do some programming in that. I wanted to know whether there are any functions or features for doing graphics functions with mouse. If so someone tell me about that and let me also know what book or site I could refer to know a detailed study about this.

    Regards,
    RyanJames


  2. #2
    Contributing Member
    Join Date
    May 2006
    Answers
    85

    Re: Is it possible to do graphics features with Mouse in C

    There are many functions used for using the mouse for graphic utilities. One of the main function is given below: To initialize the mouse the function initmouse() is used in graphics mode in C program. This function is used to check whether the mouse driver is loaded and the resulting status is returned. If the result of this status is successful then the mouse initialization in graphics mode takes place successfully. If the result of the status is not successful then closegraph() is called and the graphics mode is taken back to the text mode by the function restorecrtmode().


  3. #3
    Contributing Member
    Join Date
    May 2006
    Answers
    71

    Re: Is it possible to do graphics features with Mouse in C

    The function stated by norman is used by all graphic application in C program which uses mouse abilities for graphics. One more function used for graphic abilities with mouse is if one like to display the mouse pointer on the graphics screen mode it can be done by using the function showmouseptr()


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact