NSTextAttachmentCell subclass and mouse events?
NSTextAttachmentCell subclass and mouse events?
- Subject: NSTextAttachmentCell subclass and mouse events?
- From: Michael Link <email@hidden>
- Date: Mon, 17 Apr 2006 17:32:31 -0500
I have an NSTextFieldCell subclass that conforms to the
NSTextAttachmentCell protocol. I'm trying to see if I can get the
NSTextFieldCell routines to respond to the mouse events so that it
will draw the selection, or if the cell is editable allow editing. I
see the cell respond to the - (BOOL)trackMouse:(NSEvent*)event inRect:
(NSRect)cellFrame ofView:(NSView*)controlView atCharacterIndex:
(unsigned)charIndex method, but once in there I'm not sure what's
going on. Is it possible that the selection is changing for the cell,
but it's simply not updating?
--
Michael
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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