C
WORD MtrTranslateMsg( void * pObj, GOL_MSG * pMsg );
Overview
This function evaluates the message from a user if the message will affect the object or not. The table below enumerates the translated messages for each event of the touch screen and keyboard inputs.
Translated Message |
Input Source |
Events |
Description |
MTR_MSG_SET |
System |
EVENT_SET |
If event set occurs and the meter ID is sent in parameter 1. |
OBJ_MSG_INVALID |
Any |
Any |
If the message did not affect the object. |
Input Parameters
Input Parameters |
Description |
GOL_MSG * pMsg |
Pointer to the message struct containing the message from the user interface. |
pMtr |
The pointer to the object where the message will be evaluated to check if the message will affect the object. |
Returns
Preconditions
none
Side Effects
none