Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pilou492

macrumors newbie
Original poster
Jul 23, 2009
3
0
Hi

I've created a sheet for my window and i want to make the sheet appear in a NSImageView rect. Instead of display it in the menu bar of my window.

I know i must use the delegate method : window:willPositionSheet:usingRect:

So I tried to implement this method in my WindowController (NSWindowController) and then set the "delegate" to it in IB but nothing happened ...

The delegate method is not even called ! Could you help me with that ?

I wonder if this delegate method works with NSWindowController ... !? :confused:
Thx

Apple doc : http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/Tasks/PositioningSheets.html#//apple_ref/doc/uid/20002082
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.