> In order for your custom view to become first responder, it must also return > YES from -acceptsFirstResponder
head ... desk Off course! I bet that was it ...but as you said: to avoid surprises I better move the action off the first responder. Thanks, Graham! cheers, Torten > but mouse events in the outline view can > change that to be first responder, so to avoid unexpected surprises with > Print, I suggest you set the view to be the menu item's direct target. > NSView has a default implementation of print (inherited by NSOutlineView). > Also, to set the custom view to be the initial first responder, you can > connect the window's initialFirstResponder outlet to it, to save having to > do that in -awakeFromNib, but that still requires that the view > acceptsFirstResponder to function. > --Graham > > _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com