willPositionSheet never called ??
willPositionSheet never called ??
- Subject: willPositionSheet never called ??
- From: Jérome Foucher <email@hidden>
- Date: Tue, 1 Jun 2004 13:49:57 +0200
Hi list !
Is it just me or is the following delegate method introduced in 10.3 :
- (NSRect)window:(NSWindow *)window willPositionSheet:(NSWindow *)sheet
usingRect:(NSRect)rect;
never called ??
As I understand it, this method should be called before a sheet is
being displayed.
The doc
(
http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/
Tasks/PositioningSheets.html) just states that I should add that method
to the window's delegate, which is what I did. I tried to add this
method into the NSWindow's subclass definition as well, but to no
avail.....
FYI, my NSWindow's subclass displays sheets using [NSApp
beginSheet....]. Do I have to add anything special to my NSWindow's
subclass, or anything else ?
Thanks
Jerome
_______________________________________________
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.