• 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
standardWindowButtons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

standardWindowButtons


  • Subject: standardWindowButtons
  • From: Mark Eaton <email@hidden>
  • Date: Fri, 17 Jan 2003 18:50:26 -0800

So I'm using a borderless window, but I want the standard window widgets, so I call [NSWindow standardWindowButton:forStyleMask:] and add each type as a subview of a little grouper view.

All seems well, except that it appears that I need to mimic the rollover behavior of the standard window widgets myself. I added a tracking rect to the grouper view and pass mouseEntered: and mouseExited: to the standard window buttons, to no effect (actually this crashes due to a recursive mouseEntered: for some reason, but fixing it yields no visible results). Calling highlight gives the pressed state.

How should one configure these widgets in order to get the proper rollover behavior?

thanks in advance,
-mark
_______________________________________________
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: standardWindowButtons
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Re: bold text for font without bold typeface?
  • Next by Date: Creating multiple images on the fly
  • Previous by thread: Re: Newbie Build Problems
  • Next by thread: Re: standardWindowButtons
  • Index(es):
    • Date
    • Thread