|
-
Feb 15th, 2009, 01:55 PM
#1
Thread Starter
Addicted Member
Mouse Hook? Or am I going about this wrong.
Hi, I think I would need a mouse hook to accomplish my task. But anyway, basically I want to get a mouse click (down) get the coordinates, then while its dragging if possible draw a box then when released get the coordinates of the second point. Thus then I can use these rectangle coordinates.
Does this have to be done in a hook? I do want it outside of my application, hence automatically thought "hook". To be honest, I think I really understand hooks fine, but then someone's example on the internet confuses me.
Oh the overall effect I want is to be able to take screenshots from a specific portion of the screen. Lame right? I just heard about apples utility of this and thought it was cool and wanted to make my own.
Appreciate input,
-Hiroshi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|