Modal like window?
Modal like window?
- Subject: Modal like window?
- From: email@hidden
- Date: Tue, 28 Oct 2003 14:24:00 -0000
Hi all,
I have an application which communicates with USB devices. When a device is
inserted a window is displayed allowing the user to enter a passphrase to
unlock the device.
The problem I have is that when this window is displayed (using [NSApp
runModalForWindow:(NSWindow*)theWindow]) I don't get the background
notifications of device arrival/removal.
My guess is that because the USB notifications use the RunLoop and the
window is running modally the runloop is not processing messages.
Anyone any ideas how I can get around this problem?
I plan to add an AppleScript interface to my app so I need the 'login'
window to run modal if device activation is required and a script function
is being called.
Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.