• 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: NSStatusItem with custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSStatusItem with custom view


  • Subject: Re: NSStatusItem with custom view
  • From: Jesus De Meyer <email@hidden>
  • Date: Fri, 22 Oct 2004 08:16:34 +0200

Did you make the text field enabled, selectable, and editable?

Yes I have. Here's the code I'm using:

- (void)awakeFromNib {
statusBar = [[NSStatusBar systemStatusBar] retain];
statusItem = [[statusBar statusItemWithLength:NSVariableStatusItemLength] retain];
[statusItem setView:view];
[statusItem setMenu:statusMenu];
[statusItem setHighlightMode:YES];
[statusItem setTarget:self];
}

_______________________________________________
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: 
 >NSStatusItem with custom view (From: Jesus De Meyer <email@hidden>)
 >Re: NSStatusItem with custom view (From: Larry Fransson <email@hidden>)

  • Prev by Date: textDidEndEditing
  • Next by Date: Re: Retains and bindings
  • Previous by thread: Re: NSStatusItem with custom view
  • Next by thread: Cocoa & Excel
  • Index(es):
    • Date
    • Thread