• 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
Custom OutlineView with finder editing behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom OutlineView with finder editing behaviour


  • Subject: Custom OutlineView with finder editing behaviour
  • From: email@hidden
  • Date: Tue, 15 Nov 2005 09:26:36 +0100

Hi all,

I've made a custom outlineview with following behaviour :

* gradient higlight when selecting an item,
* 1 column with image and text (ImageAndTextCell from Apple sample),
* rectangle selection just around text when editing,
* frame of textView auto growing when user enter text.

The problem is that when editing, a blue rectangle is displaying around the
text.
When I enter a char, the view is growing up well (I resize the superview
which is a NSKeyboard...something, a private class) but the blue rectangle
stay as is (except the right border which is erased by the new car)).

How can I redraw it ?
I've tried setBorder or Bezel in my personal cell (subclass of
NSTextFieldCell) but it's not the right way.
I've tried with NSDrawRect and NSEraseRect but it seems to draw in another
place, even with coordinate conversion...

Thanks for help !
Regards,

Guillaume Gandreau


 _______________________________________________
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: CGImage functions
  • Next by Date: How to Draw View back ground like iCal Task background color
  • Previous by thread: CGImage functions
  • Next by thread: How to Draw View back ground like iCal Task background color
  • Index(es):
    • Date
    • Thread