Re: Handle multiple screens & mouse

2009-10-19 Thread Gabriel Höhener
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

Re: Handle multiple screens & mouse

2009-10-14 Thread Jens Alfke
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. N

Re: Handle multiple screens & mouse

2009-10-14 Thread Gabriel Höhener
Thank you for your response! 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.. The mouse must know the screen borders, which is not that difficult. But when I move

Re: Handle multiple screens & mouse

2009-10-13 Thread Jens Alfke
On Oct 13, 2009, at 2:35 PM, Gabriel Höhener wrote: How do I handle multiple screens, if I want to drag a window programmatically from one screen [NSScreen mainscreen] to another [[NSScreen screens] objectAtIndex:x]? I know that I can access the frame from each screen and get like that the

Handle multiple screens & mouse

2009-10-13 Thread Gabriel Höhener
Hello folks I have the following problem: How do I handle multiple screens, if I want to drag a window programmatically from one screen [NSScreen mainscreen] to another [[NSScreen screens] objectAtIndex:x]? I know that I can access the frame from each screen and get like that the origin and