• 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
[Solved] Vanishing Toolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Solved] Vanishing Toolbar


  • Subject: [Solved] Vanishing Toolbar
  • From: Carl Norum <email@hidden>
  • Date: Fri, 21 Jun 2002 21:35:01 -0600

Argh. 5 Steps:

1. Run nm on AppKit, get _toolbarView.

2. NSView *tbv = [[window toolbar] _toolbarView];

3. [tbv setNeedsDisplay:YES];

4. [window displayIfNeeded];

5. Realize that steps 1 - 3 were useless.

Final solution:

[window displayIfNeeded];

Turns out the toolbar was marked for udpate, but just wasn't getting redrawn... only the NSPopUpButton was.

Thank god that's over.

--
Carl J Norum
4th Year Electrical Engineering/Computer Science Student
University of Saskatchewan
Saskatoon, Canada
_______________________________________________
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: Quick NSOutlineView question
  • Next by Date: Accessing international settings from NSCalendarDate?
  • Previous by thread: Re: communicating with other applications
  • Next by thread: Accessing international settings from NSCalendarDate?
  • Index(es):
    • Date
    • Thread