• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTextAttachmentCell subclass and mouse events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: C# to Objective-C translator?
  • Next by Date: Re: C# to Objective-C translator?
  • Previous by thread: Re: can't run app from applications folder -- permissions problem?
  • Next by thread: XCode 2.2 Internal Error
  • Index(es):
    • Date
    • Thread