I am looking for API to set order of window on OSX. Something like system does when we click on different windows of same application. API which system uses to set application’s windows order or update the order.
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think there’s a public API to set the window order system-wide, but folks have reverse-engineered CoreGraphics’ private calls. Look here for CGSPrivate.h and
CGSOrderWindowmight be what you need.http://code.google.com/p/undocumented-goodness/source/browse/trunk/CoreGraphics/CGSPrivate.h
As folks insist that I mention lately, using private APIs means you can’t participate in the App Store.