On Jun 12, 2013, at 14:20:51, Seth Willits <sli...@araelium.com> 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 yourself since the window > is marked as non-resizable? Naturally, being within that tracking rect would > determine if it's a resize click. No, just the opposite. I'm handling moving so we can snap to other windows, so our move code is running because the click is in the titlebar, even when Cocoa has already changed the cursor to a resize cursor. Are those tracking rects exposed in a public API? NSView has a trackingRects method, but the window doesn't. -- Steve Mills office: 952-818-3871 home: 952-401-6255 cell: 612-803-6157 _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com