On May 20, 2013, at 13:19:51, Ken Thomases <k...@codeweavers.com> wrote:
> -[NSApplication runModalForWindow:] and either one of the -stopModalā¦ or > -abortModal methods. To detect a click outside of the browser window, you > may need to add a local event monitor (+[NSEvent > addLocalMonitorForEventsMatchingMask:handler:]) as well as monitoring the > window's key status. Thanks a million, Ken. The window is running modally and that's great. The only thing is that mousedowns outside the modal window only beep and don't get caught by the event monitor. Should they, or is the very nature of runModalForWindow preventing that? -- 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