On 09 Mar 2007 19:00:58 -0800, a a <[EMAIL PROTECTED]> wrote: > I am now looking for mouse programming in "anything" at this time. Mordern > languages would be great but older lanuage would be ok also just to get the > idea of how to program it.
Most modern languages that use the native OS APIs are capable of responding to mouse events. > Can mouse programming be used in DOS, GWBASIC, etc. just to get the feel > of how to program it?? No. Even if you would be able to do such a thing, mouse programming for DOS was totally different from modern mouse programming. In today's environments typically the operating system sends your program a signal or event that the mouse is being used, and you respond to that event. In fact, if you don't program for the console then all user input is handled via events. It's a whole different concept than what you're used to. > If you can help me with any of the above, can you tell me how to do it and > maybe give me a few command lines showing how it is done. That's not going to happen, since you wouldn't know how to use them. First you'll need to learn event driven programming, choose a platform, and then find the code for that specific platform. There is no such thing as standard mouse handling in C++. -- Tamas Marki
