• 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
Setting hierarchy of NIB items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting hierarchy of NIB items


  • Subject: Setting hierarchy of NIB items
  • From: Lance Drake <email@hidden>
  • Date: Sun, 15 Feb 2004 16:37:47 -0700

Can anyone suggest what might be the remedy for this situation?

My NSQuickDrawView is subclassed as QDView. In's in my NIB and works perfectly.

Unfortunately, I also have some NSButtons and and other controls which I would like to be located over the QDView.

When the QDView draws (I do have a QDView drawRect function that is called) it will often obliterate some of the controls - which then appear if I click where they are located.

After looking at the hierarchy representation of the NIB, it shows the list looking like this:

NSWindow
NSView
QDView (one instance)
NSButton <-- these buttons in this QDView get hidden by redraw
NSButton
<other stuff
QDView (another instance)
NSButton <-- these buttons in this QDView get hidden by redraw
NSButton

IS there some way to adjust the hierarchy - or is it a programmatic thing I am missing.

Last night I spend MANY hours reading and looking for a clue - the avail quotient = 0;

Your kind assistance would be greatly appreciated,

Lance Drake
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: What to do with a bad nib?
  • Next by Date: Re: [Slightly OT] Shareware donation collection
  • Previous by thread: Re: cocoa drawing to core graphics context
  • Next by thread: Re: Objective C language [NEWBEE QUESTIONS]
  • Index(es):
    • Date
    • Thread