BtnGetText Macro

Microchip Graphics Library

Microchip Graphics Library
BtnGetText Macro
C
#define BtnGetText(pB) ((BUTTON *)pB)->pText
Overview

This macro returns the address of the current text string used for the object.

Input Parameters
Input Parameters 
Description 
pB 
Pointer to the object. 
Returns

Returns pointer to the text string being used.

Preconditions

none

Side Effects

none

Example
XCHAR *pChar;
BUTTON Button[2];

pChar = BtnGetText(Button[0]);
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved