Re: knowing if a titlebar click is actually a resize click

2013-06-13 Thread Steve Mills
On Jun 12, 2013, at 20:35:40, Ken Thomases wrote: > I'm not sure I understand. It's running an internal event loop? If that's > the case, then you definitely get the NSWindowWillStartLiveResizeNotification > before seeing an NSLeftMouseDragged. So, while you would have had to set up > for y

Re: knowing if a titlebar click is actually a resize click

2013-06-12 Thread Ken Thomases
On Jun 12, 2013, at 4:48 PM, Steve Mills wrote: > On Jun 12, 2013, at 16:21:06, Ken Thomases > wrote: > >> Does NSWindowWillStartLiveResizeNotification (or -[NSWindowDelegate >> windowWillStartLiveResize:]) happen in time for you to cancel your drag >> stuff? > > Nope. The default sendEvent a

Re: knowing if a titlebar click is actually a resize click

2013-06-12 Thread Seth Willits
On Jun 12, 2013, at 12:45 PM, Steve Mills wrote: >> On Jun 12, 2013, at 10:48 AM, Steve Mills wrote: >> >>> How can I tell in my sendEvent override that a click is supposed to resize >>> the window from the top and not drag the window? >> >> I assume you're having to display the resize cursor y

Re: knowing if a titlebar click is actually a resize click

2013-06-12 Thread Steve Mills
On Jun 12, 2013, at 16:21:06, Ken Thomases wrote: > Does NSWindowWillStartLiveResizeNotification (or -[NSWindowDelegate > windowWillStartLiveResize:]) happen in time for you to cancel your drag stuff? Nope. The default sendEvent appears to stay in the mouseDown event handler (NSTitledFrame mo

Re: knowing if a titlebar click is actually a resize click

2013-06-12 Thread Ken Thomases
On Jun 12, 2013, at 2:45 PM, Steve Mills wrote: > On Jun 12, 2013, at 14:20:51, Seth Willits wrote: > >> On Jun 12, 2013, at 10:48 AM, Steve Mills wrote: >> >>> How can I tell in my sendEvent override that a click is supposed to resize >>> the window from the top and not drag the window? >> >

Re: knowing if a titlebar click is actually a resize click

2013-06-12 Thread Steve Mills
On Jun 12, 2013, at 14:20:51, Seth Willits wrote: > On Jun 12, 2013, at 10:48 AM, Steve Mills wrote: > >> How can I tell in my sendEvent override that a click is supposed to resize >> the window from the top and not drag the window? > > I assume you're having to display the resize cursor yours

Re: knowing if a titlebar click is actually a resize click

2013-06-12 Thread Seth Willits
On Jun 12, 2013, at 10:48 AM, Steve Mills wrote: > How can I tell in my sendEvent override that a click is supposed to resize > the window from the top and not drag the window? I assume you're having to display the resize cursor yourself since the window is marked as non-resizable? Naturally, b

knowing if a titlebar click is actually a resize click

2013-06-12 Thread Steve Mills
How can I tell in my sendEvent override that a click is supposed to resize the window from the top and not drag the window? -- Steve Mills office: 952-818-3871 home: 952-401-6255 cell: 612-803-6157 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.c