Mouse in CMD

Is it possible to make the mouse work in a CMD program?
Like if you click on "exit" the program activates an exitprogram function?
Maybe there's a way, but I just don't know it. If you need mouse functionality, you should program a GUI application.

BTW, I can only speak for Windows. Dunno if you are referring to other OS.
Oh, well, isn't GUI's hard to make? I'm pretty new with C++
It is considerably more boilerplate code, but I stress again, that it is boilerplate. You end up memorizing the steps and that's it. The skeleton of a Windows application is maybe 80 or so lines of code.
Okay, thanks.
I guess I'll port my text based RPG to GUI D:
Topic archived. No new replies allowed.