• 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
NSDrawer bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDrawer bug?


  • Subject: NSDrawer bug?
  • From: Drew McCormack <email@hidden>
  • Date: Fri, 22 Feb 2002 20:01:20 +0100

I have an NSDrawer which is attached to a window which gets open and closed regularly. Sometimes I need to open the window, and have the NSDrawer open at the same time (or at least be open when the window has opened). Sometimes this works, in particular when the nib is first loaded, but after that things go wrong. (It's probably just a question of timing, of course.)

What happens is, the window is displayed, but the space where the drawer should be is a white blank space. I can only see the drawer and its contents by opening and closing it.

I have tried sending the contentView of the drawer a "setNeedsDisplay:" message; this works for the contents, but the drawer border is still invisible. Incidentally, what do I call if I want to get the drawer to redisplay?

Is this correct behavior, or a bug?

I'm sure I can get around it with a few tricks like putting something in the delegate method "drawerDidOpen:", but I was just curious as to what was up.

Drew McCormack
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSDrawer bug?
      • From: Matt Judy <email@hidden>
  • Prev by Date: Re: variable arguments in ObjC
  • Next by Date: Re: RE What to do? (I have a simple method for doing it)
  • Previous by thread: Re: RE What to do? (I have a simple method for doing it)
  • Next by thread: Re: NSDrawer bug?
  • Index(es):
    • Date
    • Thread