Re: Handle multiple screens & mouse
Re: Handle multiple screens & mouse
- Subject: Re: Handle multiple screens & mouse
- From: Gabriel Höhener <email@hidden>
- Date: Mon, 19 Oct 2009 23:59:16 +0200
Hello together
I solved this problem, it was because I was mixing up coordinates. But
with the origin and framesize information you can do it without any problem.
NOW I have another problem and I'm sure this is not that difficult for
you guys - it's a beginner question.
I can do everything I want with the mouse programmatically (move, drag,
double-click, etc...), but whenever I click programmatically on the
window of my "mouse-moving" app itself, for example on a button or on a
slider, the application "doesn't allow" to make any other mouse Events
programmatically - it just stucks! When I take then my real optical
mouse and make a left-click, the cursor moves around and it seems that
all Events that my app wanted to perform right after the app stuck, are
then executed...
(If i click on another window from another application, for example
safari, it works perfectly... )
Thank you in advance
Gabe
Jens Alfke schrieb:
On Oct 14, 2009, at 12:53 AM, Gabriel Höhener wrote:
The problem is not about the window but about the mouse. When i
programmatically move the mouse around and cross the borders of my
screens, it jumps to (0,0) on the mainscreen..
Don't move the mouse cursor around! That's just annoying. No good Mac
software does this.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden