Re: Can't set a cursor on a programmatically created window

2010-04-25 Thread David Preece
Hi Sean, Sorry I am so tardy... On 23/04/2010, at 8:49 AM, Sean McBride wrote: > Does it work if you don't use NSBorderlessWindowMask? Sadly, no. Will continue to research Thanks, Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pleas

Re: Can't set a cursor on a programmatically created window

2010-04-22 Thread Sean McBride
On Wed, 21 Apr 2010 12:12:06 +1200, David Preece said: >And was expecting my implementation of resetCursorRects to be called on >MyView but it's not. I've called 'areCursorRectsEnabled' on the >subwindow and it returns YES. I also have lots of very similar code >running in other views for the pare

Can't set a cursor on a programmatically created window

2010-04-22 Thread David Preece
Hi, So, I'm programmatically creating a subwindow: self=[super initWithContentRect:rect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]; attaching a view... MyView* cView=[[[PlayBarView alloc] initWithFrame:NSMakeRect(0, 0, 0, 0)] autorelease];