>> Can you give an example of how you do that? I guess I'd want it right after >> my document controller. Do I need to walk the list looking for my document >> controller? >> >> Or just do: >> >> [[document windowController] setNextResponder:sourceViewController] >> >> Trygve > > Well, you’ll also want to give the document a shot, so > > sourceViewController.nextResponder = document.windowController.nextResponder; > document.windowController.nextResponder = sourceViewController; > > That way you insert between the window controller and the document. For window > controllers without a document, the next responder is usually the application, > IIRC, so you don’t want to sever the chain. > > That said, the supplemental target thing someone else suggested sounds like a > nice and clean way of doing it that I haven’t tried yet.
That would require 10.7 and I am not sure if I am ready to stop supporting 10.6 yet. Trygve _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com