Mouse control functions in VC++, i use VC++6.0, Plz help, need for my project?
-
Hi i need some functions which can get current mouse position, set its position to any position on screen, simulate clicks... I tried to search for them, but couldn't find them. I am a C programmer, so preferably give C/C++ functions that i can use in my code. (I use VC++ 6.0 Compiler) I am not fancy about .NET things or VB controls. I need them for my project, please help. you can mail me at [email protected]
-
Answer:
Here is a sample of getting some mouse messages...track the new mouse pointer position (and save it in newx) for as long as the left button is held down...this is from some VC++6.0 code i have ( i think it came from 'ShowDIB.C' .. courtesy MSDN help archive): MSG msg; int done = 0, newx; while (!done) { WaitMessage(); if (PeekMessage(&msg,NULL,WM_MOUSEFIRST,WM_… { newx = LOWORD(msg.lParam); if(msg.message == WM_LBUTTONUP) break; } }
chethanc... at Yahoo! Answers Visit the source
Related Q & A:
- How do I deploy WAR file to Tomcat 6.0?Best solution by Stack Overflow
- Should I use a code repository if I am the only one working on a project?Best solution by Programmers
- Can some plz help, i want to get an 11-15 oyster photo card and i dont know how to post it?Best solution by Yahoo! Answers
- Why can't I get a dial tone on my GE 6.0 cordless phone?Best solution by Yahoo! Answers
- Can I use a 4 ohm crossover with a high pass slope of 24 db with a 6 ohm tweeter that has a 6 db slope?Best solution by termpro.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.