Re: Using NSTrackingArea on overlay child windows

2008-06-09 Thread Markus Spoettl
On Jun 8, 2008, at 10:59 PM, Ron Fleckner wrote: Is updateCursor: a Leopard thing? I'm still on Tiger and there's no such method on my machine that I could find. If it is your own method, why can't you just call it yourself? I guess I don't really understand your problem. Yes it's new

Re: Using NSTrackingArea on overlay child windows

2008-06-08 Thread Ron Fleckner
On 09/06/2008, at 1:24 PM, Markus Spoettl wrote: On Jun 8, 2008, at 5:57 PM, Ron Fleckner wrote: I think you need to explicitly set the transparent window as accepting first responder. By default, borderless windows aren't included in the repsonder chain. I think you are right. I did so

Re: Using NSTrackingArea on overlay child windows

2008-06-08 Thread Markus Spoettl
On Jun 8, 2008, at 5:57 PM, Ron Fleckner wrote: I think you need to explicitly set the transparent window as accepting first responder. By default, borderless windows aren't included in the repsonder chain. I think you are right. I did some experimenting and it appears the updateCursor:

Re: Using NSTrackingArea on overlay child windows

2008-06-08 Thread Ron Fleckner
I think you need to explicitly set the transparent window as accepting first responder. By default, borderless windows aren't included in the repsonder chain. HTH, Ron On 09/06/2008, at 9:30 AM, Markus Spoettl wrote: Hello List, I have the following code which works as expected on a n

Using NSTrackingArea on overlay child windows

2008-06-08 Thread Markus Spoettl
Hello List, I have the following code which works as expected on a normal NSView in a normal window. However it does not work when used on a view hosted on a completely transparent overlay window. The overlay is a child window of a normal NSDocument main window in case that matters. I'v