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: Calling AppleScript from Cocoa



>> -- my Cocoa app remains in the foreground

Does it really? Or does its window only? I've been seeing some problems in
Cocoa where an application comes to the foreground, iow its menu bar becomes
the active one, but its windows do not come forward. I haven't been able to
really characterize the problem, except that it is happening with Cocoa
windows in a Carbon app.

This is a long way from your situation, but do be aware that in some
circumstances you can wind up with a frontmost window that does not belong
to the foreground application. (IIRC the frontmost window does lose focus
and is not the main or key window, there is no main window in this
situation.)

-- 
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice


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

This email sent to email@hidden

References: 
 >Re: Calling AppleScript from Cocoa (From: Matt Neuburg <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.