You are here:

C/Mouse programming in C

Advertisement


Question
I like to know how to restrict mouse pointer  in the screen out side a rectangle in C language.Also how to restrict the mouse pointer inside and outside of the circle.

Answer
Actually graphics (or window programming) is not part of C.
The reason is, each system comes with its own windows driver and there are many windowing systems around.
So, you will have to study the particular windowing system that you are working on.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.