I had connected mouse successfully using 33h interrupt in my program in turbo c++ 3.0. My problem is when i press right button it takes many input and automatically jumps select other menu options by just hovering cursur over them. I want to knw how clear this buffer after every call.

Member Avatar for iamthwee

What's the code for your 33h interrupt

union REGS in,out;
int86(0x33,&in,&out);
Be a part of the DaniWeb community

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