Displaying sheet at initation of window
Displaying sheet at initation of window
- Subject: Displaying sheet at initation of window
- From: "Christoph Lauterbach" <email@hidden>
- Date: Mon, 11 Oct 2004 01:27:33 +0200 (MEST)
Hi,
for initial document setup, I want to display a sheet right afer the
creation of a new window.
When I call the [NSApp beginSheet:...]method in the
windowControllerDidLoadNib method, the sheet (in sheet-look) is positioned
in the middle of the screen, and it isn't docked to the new document. When
I raise the sheet by clicking on a button in the document window, it is
well positioned.
I guess that the parameter [sender window]for modalForWindow: isn't right.
How can I make the sheet to get positioned well?
What's the common way for displaying sheets in document-based apps? Should
I manage it by a AppController?
Thank you very much.
Christoph
--
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX:
http://www.gmx.net/de/go/dsl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden