Pregunta

I am working on my minor project. I have to create an image editor in C. For that I want to handle mouse. As I know there are two approaches to handle mouse viz REQUEST MODE and EVENT MODE.

Over the past few days I have learnt Request mode but I'm having difficulty in performing a couple of things with request mode, so I decided to learn second approach i e Event mode. But unfortunately I can't find proper resources. It would be very nice of you if you can get me some examples and explanation of event mode approach.

¿Fue útil?

Solución

look at this site

http://www3.telus.net/alexander_russell/course/introduction.htm

its a dos game programming site

there is a mouse section at chapter 4

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top