MO_notifyModeChange Function (ROM Call 0xDE)

events.h

void MO_notifyModeChange (short Flags);

Sends mode change notify message to all applications.

MO_notifyModeChange sends a CM_MODE_CHANGE message to all applications (note that "Graph" application will first receive this message). This function also has one parameter Flags which is ignored on AMS 1.xx, but used in AMS 2.xx. It contains a set of flags which describes what exactly was changed. This parameter is attached to message in the extra field of the message, so it gives more info to applications on what they need to check. At the moment, I don't have exact information about what each bit in Flags represents.


Uses: EV_sendEvent, reset_control_flags, MenuUpdate, ST_eraseHelp, ST_helpMsg, EV_appA, EV_appB, OO_firstACB, OO_NextACB, FirstWindow
Used by: MO_digestOptions, setup_unit_system