• 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
Modal like window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Modal like window?
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: What is this error?
  • Next by Date: changing color in NSImage
  • Previous by thread: Re: What is this error? [solved]
  • Next by thread: Re: Modal like window?
  • Index(es):
    • Date
    • Thread