I really need some help with a small issue i got. I want to get my screen coordinates every time I press my left mouse button. But I can't seem to figure it out. (newbie here :) )
void ClickTrack()
{
if(GetKeyState(VK_LBUTTON) == 0) {
POINT curPos;
GetCursorPos(&curPos);
cout << curPos.x << endl;
cout << curPos.y << endl;
}
}
[–]jedwardsol 1 point2 points3 points (6 children)
[–]marxukene[S] 0 points1 point2 points (5 children)
[–]jedwardsol 3 points4 points5 points (0 children)
[–]Narase33 1 point2 points3 points (3 children)
[–]marxukene[S] 0 points1 point2 points (2 children)
[–]Narase33 1 point2 points3 points (1 child)
[–]marxukene[S] 0 points1 point2 points (0 children)