• 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: Invalid window error for a status bar item popup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalid window error for a status bar item popup


  • Subject: Re: Invalid window error for a status bar item popup
  • From: Jeffrey Mattox <email@hidden>
  • Date: Tue, 18 Feb 2003 19:21:16 -0600

Andreas:

I have a status menu item that, when clicked, shows a popup menu via:

What about simply using NSStatusItem setMenu:?

Sigh. The menu titles are dynamic (determined at the time the status bar item is clicked), so I have to build the menu then pop it up. If I use setMenu, then I cannot intercept the mouse click prior to the menu being displayed. Bummer. (BTW, I posted how to do this a last week.)

No idea regarding your code though, sorry.

Thanks for the thought, anyway. :-)

Jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Invalid window error for a status bar item popup
      • From: Andreas Mayer <email@hidden>
References: 
 >Re: Invalid window error for a status bar item popup (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: Invalid window error for a status bar item popup
  • Next by Date: Re: drawing into NSBitmapImageRep
  • Previous by thread: Re: Invalid window error for a status bar item popup
  • Next by thread: Re: Invalid window error for a status bar item popup
  • Index(es):
    • Date
    • Thread