Re: Custom window with small stoplight
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