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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top