How to use functions in Jmeter?

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

Was this solution helpful to you?

Find solution

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.