[Solved] Vanishing Toolbar
[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.