Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / November 2006



Tip: Looking for answers? Try searching our database.

What are tobe done for handling mouse events

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Yabber - 28 Nov 2006 15:33 GMT
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 ?

Excuse my language
With thanks
Yabber
Ulrich Hobelmann - 28 Nov 2006 15:49 GMT
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.