• 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: NSPanel with just a close button & title on title bar?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSPanel with just a close button & title on title bar?
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >NSPanel with just a close button & title on title bar? (From: Ken Tabb <email@hidden>)
 >Re: NSPanel with just a close button & title on title bar? (From: Ricky Sharp <email@hidden>)
 >Re: NSPanel with just a close button & title on title bar? (From: Andreas Mayer <email@hidden>)
 >Re: NSPanel with just a close button & title on title bar? (From: Peter Maurer <email@hidden>)
 >Re: NSPanel with just a close button & title on title bar? (From: Ken Tabb <email@hidden>)
 >Re: NSPanel with just a close button & title on title bar? (From: Ryan Stevens <email@hidden>)
 >Re: NSPanel with just a close button & title on title bar? (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: [NSMatrix putCell:] raising an exception
  • Next by Date: resetting a table to defaults
  • Previous by thread: Re: NSPanel with just a close button & title on title bar?
  • Next by thread: Re: NSPanel with just a close button & title on title bar?
  • Index(es):
    • Date
    • Thread