Does OS X send a system wide apple event or anything after the
screen resolution is changed?
OK, after a little research I found that yes, a system wide Apple
Event is issued. now, can anyone help me figure out how to handle it?
From "Optimizing Display Modes and Window Arrangement With the
Display Manager" which can be found at:
http://developer.apple.com/documentation/Carbon/Conceptual/
Optimizing_DisplayManager/Optimizing_DisplayManager.pdf
Event class:
kCoreEventClass
Event ID:
kAESystemConfigNotice
Required parameter Keyword:
kAEDisplayNotice
Descriptor type:
AEDesc
OK, from displays.h
/* AppleEvents Core Suite */
kAESystemConfigNotice = 'cnfg', /* Core Suite types */
kAEDisplayNotice = 'dspl',
kAEDisplaySummary = 'dsum',
keyDMConfigVersion = 'dmcv',
'etc.....
Why does this code not get triggered in app.HandleAppleEvent ?? It
would seem that my app is not even receiving this event, and I cannot
seem to trap for it in AE recorder either. Anyone have any ideas?
if eventClass = "cnfg" and eventID = "dspl" then
main.fitToScreen
return true
end
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>