How can I detect when a screen shot selection (cmd-shift-4) is in progress?

I have a custom window that I’m trying to make behave like a menu (it comes out 
of a status item). Part of this behavior is dismissing it when the user clicks 
on something else, which I detect using a CGEventTap. One case where I *don’t* 
want a click to dismiss is when it’s the start of a screen shot selection. Is 
there any way to detect this?
_______________________________________________

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

Reply via email to