Carbon


Process Mode Flag Constants

Header: Processes.h

enum {
    modeReserved = 16777216,
    modeControlPanel = 524288,
    modeLaunchDontSwitch = 262144,
    modeDeskAccessory = 131072,
    modeMultiLaunch = 65536,
    modeNeedSuspendResume = 16384,
    modeCanBackground = 4096,
    modeDoesActivateOnFGSwitch = 2048,
    modeOnlyBackground = 1024,
    modeGetFrontClicks = 512,
    modeGetAppDiedMsg = 256,
    mode32BitCompatible = 128,
    modeHighLevelEventAware = 64,
    modeLocalAndRemoteHLEvents = 32,
    modeStationeryAware = 16,
    modeUseTextEditServices = 8,
    modeDisplayManagerAware = 4
};

Constant descriptions

modeReserved
modeControlPanel
modeLaunchDontSwitch
modeDeskAccessory

Indicates that the process is a desk accessory.

modeMultiLaunch
modeNeedSuspendResume
modeCanBackground
modeDoesActivateOnFGSwitch
modeOnlyBackground
modeGetFrontClicks
modeGetAppDiedMsg
mode32BitCompatible
modeHighLevelEventAware
modeLocalAndRemoteHLEvents
modeStationeryAware
modeUseTextEditServices
modeDisplayManagerAware

These constants indicate, in the processMode field of the ProcessInfoRec structure, whether the process is an application or a desk accessory. If the process is an application, these flags return information about the application’s ‘SIZE’ resource.


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