C
WORD PictTranslateMsg( 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 accepted by the PICTURE Object.
Translated Message |
Input Source |
Events |
Description |
PICT_MSG_SELECTED |
Touch Screen |
EVENT_PRESS, EVENT_RELEASE, EVENT_MOVE |
If events occurs and the x,y position falls in the area of the picture. |
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. |
pPict |
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