> Is any way to capture mouse event from a NSOutLineView
> What r to be done to get right mouse click event in textview
> Can somebody give me some hint ?
Take a look at Apple's programming guide for the textview:
http://developer.apple.com/documentation/Cocoa/Conceptual/TextEditing/index.html
?http://developer.apple.com/documentation/Cocoa/Conceptual/TextEditing/Concepts/
OverviewEditing.html
It's a lot of reading, but you should know the options. If you need
to, you can just override the mouseDown: method for any view (though
I'm not sure what you need to do to get a right-click or ctrl-click).
For the outline view it's probably best to use whatever other methods
and delegate methods it provides.