C
void GridMsgDefault( 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 |
GRID_MSG_TOUCHED |
Touch Screen |
none |
Grid will have no state change because of this event. |
GRID_MSG_ITEM_SELECTED |
Keyboard |
Set GRIDITEM_SELECTED, |
Grid Item selected will be redrawn. |
|
|
| |
GRID_MSG_UP |
Keyboard |
Set GRIDITEM_DRAW, |
Grid Item above the currently focused item will be redrawn. |
|
|
| |
GRID_MSG_DOWN |
Keyboard |
Set GRIDITEM_DRAW, |
Grid Item below the currently focused item will be redrawn. |
|
|
| |
GRID_MSG_LEFT |
Keyboard |
Set GRIDITEM_DRAW, |
Grid Item to the left of the currently focused item will be redrawn. |
|
|
| |
GRID_MSG_RIGHT |
Keyboard |
Set GRIDITEM_DRAW, |
Grid Item to the right of the currently focused item will be redrawn. |
|
|
|
Input Parameters
Input Parameters |
Description |
WORD translatedMsg |
The translated message. |
GOL_MSG * pMsg |
The pointer to the GOL message. |
pGrid |
The pointer to the object whose state will be modified. |
Returns
none
Preconditions
none
Side Effects
none