title: Getting cursor position on Mac OS X
body: <p>I want to get the cursor position. Is there any standard function for this?</p>
  <p>I'm trying to make my program in C++. I'd like to avoid Cocoa. Not that I have anything against it, but I'd like to make my program cross-platform.</p>