Re: constrained window resizing
Re: constrained window resizing
- Subject: Re: constrained window resizing
- From: Ken Thomases <email@hidden>
- Date: Wed, 22 Jun 2011 17:15:38 -0500
On Jun 22, 2011, at 4:48 PM, Ken Tozier wrote:
> In NSEvent docs, there's a section on "Monitoring Application Events" (http://tinyurl.com/6enhj2g) and it looks like there is a flag you can set (explained here: http://tinyurl.com/6jky52c) to receive notifications for this sort of thing
I don't think that will work because (from your first link):
> Your handler will not be called for events that are consumed by nested event-tracking loops such as control tracking, menu tracking, or window dragging; only events that are dispatched through the applications sendEvent: method will be passed to your handler.
Window resizing is just such a nested event-tracking loop. (Which is also why the OP's thought of using -sendEvent: wouldn't help either.)
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden