• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: constrained window resizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >constrained window resizing (From: Ken Victor <email@hidden>)
 >Re: constrained window resizing (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Proper removal of a NSStatusItem?
  • Next by Date: Re: tooltips not firing on first try
  • Previous by thread: Re: constrained window resizing
  • Next by thread: why NSTrackingArea doesn't work?
  • Index(es):
    • Date
    • Thread