Re: Adding an icon to the Window title bar (like Safari does with its Locked icon)
Re: Adding an icon to the Window title bar (like Safari does with its Locked icon)
- Subject: Re: Adding an icon to the Window title bar (like Safari does with its Locked icon)
- From: Ryan Stevens <email@hidden>
- Date: Thu, 11 Nov 2004 10:22:20 -0800
On Nov 10, 2004, at 12:39 PM, Mark Alldritt wrote:
Hi,
I want to add a small icon to the right-hand edge of my window's title
bar.
This status icon is not clickable. I'm thinking of something like the
locked icon that appears in Safari when visiting a secure web page.
How can
this be done?
I would get one of the standard window buttons and then add a new view
to the button's superview...
{
id superview = [[yourWindow standardWindowButton:NSWindowCloseButton]
superview];
[superview addSubview: yourView];
}
_______________________________________________
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