Hi

Use SetNextResponder method to insert your view into the responder chain.
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Even
tOverview/EventArchitecture/EventArchitecture.html will give the more
information.


Regards,
Apparao Mulpuri



On 12/27/13 6:22 PM, "Trygve Inda" <cocoa...@xericdesign.com> wrote:

>I have a document with a SourceView on the left side (like iTunes). Some
>main menu commands pertain to actions in the Source View. This works fine
>if
>the SourceView is the active view but my window has other views held in a
>SplitView.
>
>If a sibling of the SourceView is active, the SourceView is not in the
>responder chain and thus my menu commands are greyed out.
>
>How can I keep a sibling view in the responder chain?
>
>The alternative is I have to re-create "passthrough" methods in my
>Document
>object that pass the real action through to the SourveView since the
>Document object always is part of the Responder Chain.
>
>Thoughts?
>
>
>
>_______________________________________________
>
>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/apparaom%40ivycomptech.c
>om
>
>This email sent to appar...@ivycomptech.com

This email and any attachments are confidential, and may be legally privileged 
and protected by copyright. If you are not the intended recipient dissemination 
or copying of this email is prohibited. If you have received this in error, 
please notify the sender by replying by email and then delete the email 
completely from your system. Any views or opinions are solely those of the 
sender. This communication is not intended to form a binding contract unless 
expressly indicated to the contrary and properly authorised. Any actions taken 
on the basis of this email are at the recipient's own risk.

_______________________________________________

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

Reply via email to