• 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 Window? Sheet? What do I need...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modal Window? Sheet? What do I need...


  • Subject: Modal Window? Sheet? What do I need...
  • From: Michael Becker <email@hidden>
  • Date: Fri, 4 Jun 2004 12:47:36 +0200

Hello!

I've been trying out a lot of things, but I still don't get it right. Here's my problem: I have a single-windowed application to manage images. At a certain point, the user will wish to order some of these images. In this case, a panel appears which deals with the steps needed to perform the order (in the typical "Back"/"Next" wizard style).
Naturally, I don't want the user to be able to play around in the shopping cart while performing the order. So I would like to "disable" the main window while the Order-Window is showing.

Here's what I tried:
- NSApplication's runModalForWindow: -- Doesn't seem to work, the Order-Panel won't continue (it will freeze in the initial server-negotiation, after which it should automatically display a user-data form dialog)

- NSApplication's runModalSession: and friends -- Only makes the Order-Panel stay upfront. I can still perform button clicks etc. in my main window.

How do I achieve my goal the "right" way? It's actually a quite straightforward thought, but porting this application from Windows, I am not even sure anymore if this window behavior exists on Mac OS X ...

Bye,
Michael
_______________________________________________
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 Window? Sheet? What do I need...
      • From: Daniel Todd Currie <email@hidden>
  • Prev by Date: Re: Sample Movie quickies
  • Next by Date: Re: Representing UTC time in a readable format
  • Previous by thread: Re: Representing UTC time in a readable format
  • Next by thread: Re: Modal Window? Sheet? What do I need...
  • Index(es):
    • Date
    • Thread