MtrMsgDefault Function

Microchip Graphics Library

Microchip Graphics Library
MtrMsgDefault Function
C
void MtrMsgDefault(
    WORD translatedMsg, 
    void * pObj, 
    GOL_MSG * pMsg
);
Overview

This function performs the actual state change based on the translated message given. Meter value is set based on parameter 2 of the message given. The following state changes are supported:

Translated Message 
Input Source 
Set/Clear State Bit 
Description 
MTR_MSG_SET 
System 
Meter will be redrawn to update the needle position and value displayed. 
Input Parameters
Input Parameters 
Description 
WORD translatedMsg 
The translated message. 
GOL_MSG * pMsg 
The pointer to the GOL message. 
pMtr 
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