• 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: Custom window with small stoplight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom window with small stoplight


  • Subject: Re: Custom window with small stoplight
  • From: Buddy Kurz <email@hidden>
  • Date: Mon, 24 Jul 2006 16:02:27 -0700

A person (someone else - not me) could use:

NSArray * windowContents = [[[yourUtilityWindow standardWindowButton:NSWindowCloseButton] superview] subviews];

to get an NSArray that includes the content view and buttons for the window. Based on relative positions he/she could identify the function of each button.
The same person could then reset the frames on said buttons to relocate them vertically - in theory without losing functionality.
However, I would be concerned that this might be rendered non- functional by some OS update.
Perhaps someone more knowledgeable might comment.


Buddy



On Jul 24, 2006, at 7:12 AM, Trygve Inda wrote:

I am trying to build a custom window like the small iTunes window. I can get
a generic window with a custom background, but how can I insert the small
(from the panel utility window) stoplight (close/zoom/minimize), but orient
it vertically, and handle the auto mouse over?


Anyone seen some sample code for this?

Thanks,

Trygve


_______________________________________________ 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

_______________________________________________ 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
  • Follow-Ups:
    • Re: Custom window with small stoplight
      • From: j o a r <email@hidden>
    • Re: Custom window with small stoplight
      • From: Buddy Kurz <email@hidden>
References: 
 >Custom window with small stoplight (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: ODBC
  • Next by Date: Re: How do I display a path like in PathFinder 4, the file path bar
  • Previous by thread: Re: Custom window with small stoplight
  • Next by thread: Re: Custom window with small stoplight
  • Index(es):
    • Date
    • Thread