• 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: Creating NSViews with code.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating NSViews with code.


  • Subject: Re: Creating NSViews with code.
  • From: j o a r <email@hidden>
  • Date: Thu, 17 Feb 2005 15:58:59 +0100


On 2005-02-17, at 15.48, Coleman Nitroy wrote:

You should probably not load new windows, but instead just switch view configurations - like has been discussed already.
The addSubview: and setFrame: stuff?

No, the "use a tab view instead of subview fiddling" stuff... :)

Is it possible to have a NSView sort of highlighted, to show that its the currently selected view? I looked all over for anything like that but was only able to find this thread: http://www.cocoabuilder.com/archive/message/cocoa/2004/5/6/106436 which looks as though it could be a little scary to implement highlighting in NSViews, especially since I am using NSOpenGLViews subclasses of NSView, and am not sure how adding cocoa drawing functions in the drawRect: function would work.

You could always wrap your GL-view as a subview of some sort of "FocusView", that can draw the focus ring in it's drawRect method.


j o a r

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >RE: Creating NSViews with code. (From: "Jonathan E. Jackel" <email@hidden>)
 >Re: Creating NSViews with code. (From: j o a r <email@hidden>)
 >Re: Creating NSViews with code. (From: Daniel Jalkut <email@hidden>)
 >Re: Creating NSViews with code. (From: j o a r <email@hidden>)
 >Re: Creating NSViews with code. (From: j o a r <email@hidden>)

  • Prev by Date: Re: Creating NSViews with code.
  • Next by Date: Re: How to get NSGlyph from unichar?
  • Previous by thread: Re: Creating NSViews with code.
  • Next by thread: Re: Creating NSViews with code.
  • Index(es):
    • Date
    • Thread