C
void BtnMsgDefault( WORD translatedMsg, void * pObj, GOL_MSG * pMsg );
Overview
This function performs the actual state change based on the translated message given. The following state changes are supported:
Translated Message |
Input Source |
Set/Clear State Bit |
Description |
BTN_MSG_PRESSED |
Touch Screen, Keyboard |
Set BTN_PRESSED |
Button will be redrawn in the pressed state. |
BTN_MSG_RELEASED |
Touch Screen, Keyboard |
Clear BTN_PRESSED |
Button will be redrawn in the unpressed state. |
BTN_MSG_CANCELPRESS |
Touch Screen, |
Clear BTN_PRESSED |
Button will be redrawn in the unpressed state. |
Input Parameters
Input Parameters |
Description |
WORD translatedMsg |
The translated message. |
void * pObj |
The pointer to the object whose state will be modified. |
GOL_MSG * pMsg |
The pointer to the GOL message. |
Returns
none
Preconditions
none
Side Effects
none
Example
See BtnTranslateMsg() example.