i have written a console application in c using borland c++. i want to include mouse capabilities in the program ie. run the program using the mouse just like in norton disk doctor(dos-based version). any help? :?:

Re: how to use the mouse to control a console-based c application written in borland c++ 80 80

There's old DOS mouse libraries. Maybe they still work.
But of course if you have a console application you implicitly never have mouse support.
If you have mouse support you have a textmode fullscreen application or a full graphical user interface.

If you work in DOS mouse support is easy to write yourself using some embedded assembler btw.

Re: how to use the mouse to control a console-based c application written in borland c++ 80 80

hi, can you send me a sample code? i'd really appretiate it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.