Modal Window? Sheet? What do I need...
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.