Re: Vanishing Toolbar, Part III
Re: Vanishing Toolbar, Part III
- Subject: Re: Vanishing Toolbar, Part III
- From: Carl Jochen Norum <email@hidden>
- Date: Tue, 25 Jun 2002 10:02:42 -0600
Quoting Frank Midgley <email@hidden>:
>
The menus work fine, but strangely the buttons don't. After clicking a
>
button and having the window resize, everything but the clicked button
>
disappears. Manually resizing or switching views via menus/keyboard
>
shortcuts causes the toolbar to redraw. If animation is not used for
>
the window resize everything works fine.
This is exactly my problem. It was easy to solve, it turns out - just
call [window displayIfNeeded] after changing the size. I don't think it's
a bug with my code if you are having the same problem, and this seems like
a reasonable workaround.
>
Unfortunately I don't think that this gives a solution to the problem
>
Carl is seeing, but maybe the larger sample set will help find a real
>
solution.
Try calling displayIfNeeded and see if that works for you.
--
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.