custom view as text attachment ?
custom view as text attachment ?
- Subject: custom view as text attachment ?
- From: Robert Miller <email@hidden>
- Date: Mon, 17 Dec 2001 10:28:20 -0500
- Organization: RFM & Associates
Hello,
Can someone help me ? I have a custom view class subclass of NSView
and I would like to embed my view in an NSTextView as an attachment
using an attributed string. For example, I 'm able to open an image file
and embed it in the text but the 'view' the image is getting displayed
in isn't my custom view (not sure what it is). I'd like to display an
image that is contained by my custom view subclass so that I can control
it's event handling and other features. Also I'd like be able to use
tool tips on my view. Any ideas on how to go about doing this ?
Any help is greatly appreciated,
Thanks in advance.
Regards,
Bob M.