• 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
Re: Customizing an NSSearchField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing an NSSearchField


  • Subject: Re: Customizing an NSSearchField
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sun, 14 Nov 2004 15:19:22 +0100

At 16:14 Uhr -0800 13.11.2004, Larry Gerndt wrote:
I want to implement something very similar to an NSSearchField to use for the text entry field of a chat window. The NSSearchField's popup would contain a list of predefined chat messages, so I would want to replace the default icon (the magnifying glass) with a different icon. Also, I would want the text entry field to be about twice as tall as the default, so that it can hold about two lines of text that wraps. Is this all do-able, or am I on the wrong track?

Look at any of the pre-Panther classes that implement an NSSearchField. I think what they basically did was make the text field a little narrower and then draw an icon over the right edge which looked as if the edge was going on a little farther.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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
References: 
 >Customizing an NSSearchField (From: Larry Gerndt <email@hidden>)

  • Prev by Date: Re: Getting the Window menu item for a window
  • Next by Date: Window floating on top no matter what...
  • Previous by thread: Re: Customizing an NSSearchField
  • Next by thread: Possible to copy bundle's framework to file system?
  • Index(es):
    • Date
    • Thread