• 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: why would anyone want to do that?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why would anyone want to do that?


  • Subject: Re: why would anyone want to do that?
  • From: Camillo Lugaresi <email@hidden>
  • Date: Fri, 17 Feb 2006 01:45:51 +0100

On 16/feb/06, at 20:28, Howard Shere wrote:

I want to have a functional menubar in a window which is displayed when the displays are captured.

OK, now that we have the question out of the way, I need a way to put a menubar into a window in a cocoa application. Any pointers?

Like others have said, you have to do it yourself. I would use a single control for the entire bar, so you can easily track the mouse as it moves across menus, and implement each menu title as an individual cell.


For drawing the menu bar, have a look at the HITheme API; it contains functions for drawing all sorts of interface elements in a custom view, including everything you need for menus.

Camillo
_______________________________________________
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: 
 >why would anyone want to do that? (From: Howard Shere <email@hidden>)

  • Prev by Date: Re: Cross-platform?
  • Next by Date: Editing files in place using NSDocument
  • Previous by thread: Re: why would anyone want to do that?
  • Next by thread: Re: why would anyone want to do that?
  • Index(es):
    • Date
    • Thread