Re: Quickest Way to Open an NSTextAttachment in NSTextView
Re: Quickest Way to Open an NSTextAttachment in NSTextView
- Subject: Re: Quickest Way to Open an NSTextAttachment in NSTextView
- From: Jeremy Dronfield <email@hidden>
- Date: Sun, 27 Feb 2005 12:05:07 +0000
Implement the NSTextView delegate method:
- (void)textView:(NSTextView *)textView clickedOnCell:(id
<NSTextAttachmentCell>)cell inRect:(NSRect)cellFrame
atIndex:(unsigned)charIndex
Of course, this is called by a single click. You'll have to work on
setting it up to handle double clicks.
Regards,
-Jeremy
===================================
SkoobySoft, home of viJournal and Skooby Renamer
email: email@hidden or visit:
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================
On 27 Feb 2005, at 6:36 am, Kirt Cathey wrote:
Hi All.
Can anyone point me in the right direction on setting up my app so
that the user can double-click on an embedded file (NSTextAttachment)
and have the file open in a separate/associated application?
From the desk of ..........
Barking Frog
email: email@hidden
_________________________________________________________________
無料250MBメールボックスのMSN Hotmail
https://registernet.passport.net/reg.srf?id=2&lc=1041
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden