• 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
Menu itemhighlighting flakey in panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Menu itemhighlighting flakey in panther


  • Subject: Menu itemhighlighting flakey in panther
  • From: Tavis <email@hidden>
  • Date: Mon, 24 Nov 2003 15:09:06 -0800

Hi,

I have an NSStatusBar and it works fine but on panther when you roll
over the menu items, the highlighting is messed up. It doesnt hilite
the width of the menu, only the width of the text in that menu item and
sometimes parts of the highlight linger in a menu item when you roll
mouse away.

Any ideas whats going on?

Heres my code:

statusItem = [[NSStatusBar systemStatusBar]
statusItemWithLength:NSSquareStatusItemLength];
[statusItem retain]; [statusItem setHighlightMode:YES];
[statusItem setMenu:theMenu];
[statusItem setEnabled:YES];
[statusItem setTarget:self];
[statusItem setAction:@selector(menuClicked:)];
[statusItem sendActionOn:NSLeftMouseDownMask];
_______________________________________________
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.

  • Prev by Date: Calling NSBeginAlertSheet() from outside the main thread messes up animation
  • Next by Date: Re: Need to draw a NSImage into a graf port
  • Previous by thread: Re: Calling NSBeginAlertSheet() from outside the main thread messes up animation
  • Next by thread: cocoa-java
  • Index(es):
    • Date
    • Thread