• 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
willPositionSheet never called ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: willPositionSheet never called ??
      • From: Matt Ball <email@hidden>
  • Prev by Date: Re: Code Guidelines
  • Next by Date: Apple, Are You Listening?
  • Previous by thread: Re: Buttons work under 10.3.4 but not 10.2.8
  • Next by thread: Re: willPositionSheet never called ??
  • Index(es):
    • Date
    • Thread