Experimental Learning

Page 1 of 1

1 Replies - 1458 Views - Last Post: 19 May 2016 - 03:45 PM Rate Topic: -----

#1 TaylorCoons8798  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 19-May 16

Experimental Learning

Posted 19 May 2016 - 03:23 PM

I was making a program to troll kids at my school*. I needed to know whether the SetMousePos() function in windows set the position to local coordinates or global coordinates so I decided instead of reading the documentation I would try it. If I clicked the mouse and it ended up in the corner of the screen I knew it was global if it ended up in the corner of the window I'd know it was local. It worked fine and I figured out after one click it was global. After the next click I realized I wouldn't be able to use my mouse as it would just set the cursor to the corner of the screen and then click...

*This program ended up running a process in the background that would intercept mouse clicks, move the mouse to a random position on the screen and then click.

Is This A Good Question/Topic? 0
  • +

Replies To: Experimental Learning

#2 macosxnerd101  Icon User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12147
  • View blog
  • Posts: 45,157
  • Joined: 27-December 08

Re: Experimental Learning

Posted 19 May 2016 - 03:45 PM

This sounds malicious, and the exact type of activity we do not support. Please do not persist on this topic here.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1