Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RunAppModalLoopForWindow() returns error under Panther, sometimes




On Nov 3, 2007, at 8:34 AM, Gregg Seelhoff wrote:

So, RunAppModalLoopForWindow() is still returning windowWrongStateErr, and
it is apparently related to attempting to run this loop for a modal dialog
before entering the primary message loop (which works fine on Tiger).

The only place I see in RunAppModalLoopForWindow that returns windowWrongStateErr is a check for the window visibility, so for some reason, I think that's got to be it. Can you check the return value of IsWindowVisible when this error is returned?


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: RunAppModalLoopForWindow() returns error under Panther, sometimes (From: Gregg Seelhoff <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.