Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get XY of mouse click help
#10
Ok ive gotten the code to this much it works how I want except its still ending without me clicking? What am I missing? I have all the member functions in file just didnt think need to post let me know and I will post them as well.

Macro Macro
Code:
Copy      Help
KBDLLHOOKSTRUCT ks
MSLLHOOKSTRUCT ms
int k=WaitForKeyOrMouse(0 ks ms)

sel k
,case WM_LBUTTONDOWN
,out "%i %i" ms.pt.x ms.pt.y
,end


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)