| 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 the "Graph" application will receive this message first). This function also has a parameter Flags, which 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 information to applications on what they need to check.
The flags can be one of the following as enumerated in MoNotifyFlags:

MO_NOTIFY_FOLDER | The current folder has changed.
MO_NOTIFY_GRAPH_COUNT | 2 graph mode or 1 graph mode.
MO_NOTIFY_GRAPH_TYPE_1 | Graph mode change.
MO_NOTIFY_GRAPH_TYPE_2 | Graph mode change for graph 2 if in 2 graph mode.
MO_NOTIFY_SPLIT | The screen size has changed.
MO_NOTIFY_ANGLE | The angle mode has changed.
MO_NOTIFY_PRECISION | The precision has changed between EXACT, APPROX and AUTO.
MO_NOTIFY_FIX | Fix digits or float precision change.
MO_NOTIFY_NUMBER_FORMAT | Exponential format: Normal, scientific or engineering.
MO_NOTIFY_VECTOR_FORMAT | Rectangular, cylindrical or spherical.
MO_NOTIFY_COMPLEX_FORMAT | Real, rectangular or polar.
MO_NOTIFY_PRETTY_PRINT | Pretty Print has been switched on or off.
MO_NOTIFY_UNIT_SYSTEM | SI, ENG/US or CUSTOM unit system.
MO_NOTIFY_BASE | DEC, HEX or BIN base.
MO_NOTIFY_LANGUAGE | AMS 2.00 or higher: The language mode has changed.
MO_NOTIFY_DESKTOP | AMS 2.07 or higher: The Apps Desktop has been switched on or off.

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