I need to track any screen resolution changes in my application that go with my application in front or not.
Yesterday I searched a lot on the Internet and tried all of these options:
applicationDidChangeScreenParameters;
CGDisplayRegisterReconfigurationCallback;
NSApplicationDidChangeScreenParametersNotification;
I get notifications when I change the resolution manually or when connecting / disconnecting a new display.
But I do not receive notifications when other applications change the screen settings (most games were made before 2011).
Is there a way to find out if any Mac application changes the screen resolution? Even if my application is in the background? Any notice? Hopefully without the Accessibility API ...?
Many thanks
EDIT (June 9th)
, , . , / , , =/ API- Carbon, 10.8...
, , ...
cocoa? ?