GridMsgDefault Function

Microchip Graphics Library

Microchip Graphics Library
GridMsgDefault Function
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 
Grid Item selected will be redrawn. 
 
 
 
GRID_MSG_UP 
Keyboard 
Grid Item above the currently focused item will be redrawn. 
 
 
 
GRID_MSG_DOWN 
Keyboard 
Grid Item below the currently focused item will be redrawn. 
 
 
 
GRID_MSG_LEFT 
Keyboard 
Grid Item to the left of the currently focused item will be redrawn. 
 
 
 
GRID_MSG_RIGHT 
Keyboard 
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

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved