Re: NSPanel with just a close button & title on title bar?
Re: NSPanel with just a close button & title on title bar?
- Subject: Re: NSPanel with just a close button & title on title bar?
- From: Ryan Stevens <email@hidden>
- Date: Mon, 22 Nov 2004 06:33:16 -0800
On Nov 21, 2004, at 11:53 PM, M. Uli Kusterer wrote:
At 8:38 Uhr -0800 19.11.2004, Ryan Stevens wrote:
You can draw the title yourself...
{
id superview = [[window standardWindowButton:NSWindowZoomButton]
superview];
[superview addSubview:aTextField];
}
Not sure if you'll need to pass events up to the superview or not but
with something like this you could even draw an attributed title if
you wanted.
He might need to check what happens with accessibility in that case,
though...
I do tend to forget about accessibility a lot. Are there many
accessibility apps out there? I'd love to see a category on the various
app repositories for this. The last one I remember using was some snow
flake app that piled snow on windows (IIRC).
Anyway, if it's a problem you might be able to adjust the origin of the
view that draws the title instead.
_______________________________________________
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