Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: CollapseWindow not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CollapseWindow not working




On Oct 30, 2006, at 8:51 PM, Claude Biron wrote:

I think, although I'm entirely sure, is that I was trying to do too much
within the window event handler, rather than letting the handler return in a
timely fashion. I'm now controlling the Collapse window call from an event
timer function.

If you want to collapse the window as soon as you exit the event handler another approach would be to post a command to the window from the event handler. The event won't get handled until the event loop is called. It's just simpler than using a timer.


My ultimate design goal would be to use transition window,
but I'm sill getting odd irregularities using that method. Collapse window
will do in the meantime.

TransitionWindow is pretty straightforward. Should "just work." If it doesn't, there's some problem in your code, which I'd suggest solving rather than avoiding. Just my $0.02.


Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: CollapseWindow not working (From: Claude Biron <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.