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]);