Carbon


Apple Event Notification Keywords

Header: Displays.h

enum {
    kAESystemConfigNotice = 'cnfg',
    kAEDisplayNotice = 'dspl',
    kAEDisplaySummary = 'dsum',
    keyDMConfigVersion = 'dmcv',
    keyDMConfigFlags = 'dmcf',
    keyDMConfigReserved = 'dmcr',
    keyDisplayID = 'dmid',
    keyDisplayComponent = 'dmdc',
    keyDisplayDevice = 'dmdd',
    keyDisplayFlags = 'dmdf',
    keyDisplayMode = 'dmdm',
    keyDisplayModeReserved = 'dmmr',
    keyDisplayReserved = 'dmdr',
    keyDisplayMirroredId = 'dmmi',
    keyDeviceFlags = 'dddf',
    keyDeviceDepthMode = 'dddm',
    keyDeviceRect = 'dddr',
    keyPixMapRect = 'dpdr',
    keyPixMapHResolution = 'dphr',
    keyPixMapVResolution = 'dpvr',
    keyPixMapPixelType = 'dppt',
    keyPixMapPixelSize = 'dpps',
    keyPixMapCmpCount = 'dpcc',
    keyPixMapCmpSize = 'dpcs',
    keyPixMapAlignment = 'dppa',
    keyPixMapResReserved = 'dprr',
    keyPixMapReserved = 'dppr',
    keyPixMapColorTableSeed = 'dpct',
    keySummaryMenubar = 'dsmb',
    keySummaryChanges = 'dsch',
    keyDisplayOldConfig = 'dold',
    keyDisplayNewConfig = 'dnew'
};

Constant descriptions

kAESystemConfigNotice

Keyword for the Event ID for a Display Notice event.

kAEDisplayNotice

Keyword for a required parameter to a Display Notice event.

kAEDisplaySummary
keyDMConfigVersion

Keyword for the descriptor structure describing the version number for this Display Notice event.

keyDMConfigFlags

Reserved for future expansion. Internal use only.

keyDMConfigReserved

Reserved for future expansion. Internal use only.

keyDisplayID

Keyword for the descriptor structure describing the display ID for the video device.

keyDisplayComponent

Unless you are disconnecting display components, this is for internal use only.

keyDisplayDevice

Keyword for the descriptor structure containing a handle to the GDevice structure for the video device.

keyDisplayFlags

Reserved for future expansion. Internal use only.

keyDisplayMode

Keyword for the descriptor structure containing the sResource number from the video device for this display mode.

keyDisplayModeReserved

Reserved for future expansion. Internal use only.

keyDisplayReserved

Reserved for future expansion. Internal use only.

keyDisplayMirroredId

Keyword for the display this device is mirrored to.

keyDeviceFlags

Keyword for the descriptor structure describing the attributes for the video device as maintained in the gdFlags field of the GDevice structure for the device.

keyDeviceDepthMode

Keyword for the descriptor structure describing the depth mode for the video device; that is, the value of the gdMode field in the GDevice structure for the device.

keyDeviceRect

Keyword for the descriptor structure describing the boundary rectangle of the video device; that is, the value of the gdRect field in the GDevice structure for the device.

keyPixMapRect

Keyword for the descriptor structure describing the boundary rectangle into which QuickDraw can draw; that is, the bounds field in the PixMap structure for the GDevice structure for the video device.

keyPixMapHResolution

Keyword for the descriptor structure describing the horizontal resolution of the pixel image in the PixMap structure for the GDevice structure for the video device.

keyPixMapVResolution

Keyword for the descriptor structure describing the vertical resolution of the pixel image in the PixMap structure for the GDevice structure for the video device.

keyPixMapPixelType

Keyword for the descriptor structure describing the storage format for the pixel image on the device; that is, the value of the pixelType field in the PixMap structure for the GDevice structure for the video device.

keyPixMapPixelSize

Keyword for the descriptor structure describing the pixel depth for the device; that is, the value of the pixelSize field in the PixMap structure for the GDevice structure for the video device.

keyPixMapCmpCount

Keyword for the descriptor structure containing the number of components used to represent a color for a pixel; that is, the value of the cmpCount field in the PixMap structure for the GDevice structure for the device.

keyPixMapCmpSize

Keyword for the descriptor structure describing the size in bits of each component for a pixel; that is, the value of the cmpSize field in the PixMap structure for the GDevice structure for the device.

keyPixMapAlignment

Reserved for future expansion. Internal use only.

keyPixMapResReserved

Reserved for future expansion. Internal use only.

keyPixMapReserved

Reserved for future expansion. Internal use only.

keyPixMapColorTableSeed

Keyword for the descriptor structure containing the value of the ctSeed field of the ColorTable structure for the PixMap structure for the GDevice structure for the video device.

keySummaryMenubar

Reserved for future expansion. Internal use only.

keySummaryChanges

Reserved for future expansion. Internal use only.

keyDisplayOldConfig

Keyword for the descriptor structure describing the video device’s previous state.

keyDisplayNewConfig

Keyword for the descriptor structure describing the video device’s new state.

The Display Manager sends an Apple event—the Display Notice event—to notify applications that it has changed the display environment. The keywords that specify the Display Notice event and its descriptor structures are described here.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)