• 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
How to embed a popup menu in an NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to embed a popup menu in an NSTextField


  • Subject: How to embed a popup menu in an NSTextField
  • From: Larry Gerndt <email@hidden>
  • Date: Sun, 14 Nov 2004 23:09:55 -0800

Title: How to embed a popup menu in an NSTextField
(This is a revised version of my original post from a few days ago)

I would like to implement a popup menu located in the bottom-right corner an NSTextField (just like iChat has for picking a smiley face, except my menu will be a normal menu of strings).  Since I'm new to Cocoa, I'm not sure how to go about accomplishing this.

I've gotten some helpful ideas, like trying an NSTextAttachment, which was very interesting, but I couldn't get that work well and to me, it seems like the wrong approach.  I know that the Charla project has a way of doing this, and I may have to resort to that, but it would seem to me that some the Cocoa experts out there would know the best approach and I would appreciate very much to hear what that would be.  Thanks, and sorry to repost.
--
Larry Gerndt
AIM Handle: SonOfTheSonOfMan
Let the truth be told though the heavens fall -- James Garrison
 _______________________________________________
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

  • Follow-Ups:
    • Re: How to embed a popup menu in an NSTextField
      • From: p3consulting <email@hidden>
    • Re: How to embed a popup menu in an NSTextField
      • From: Evan Schoenberg <email@hidden>
    • Re: How to embed a popup menu in an NSTextField
      • From: stephane sudre <email@hidden>
  • Prev by Date: Re: Objective-C++ and exceptions
  • Next by Date: Trouble comparing NSCalendarDates
  • Previous by thread: Re: Objective-C++ and exceptions
  • Next by thread: Re: How to embed a popup menu in an NSTextField
  • Index(es):
    • Date
    • Thread