WndGetText Macro

Microchip Graphics Library

Microchip Graphics Library
WndGetText Macro
C
#define WndGetText(pW) pW->pText
Overview

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

Input Parameters
Input Parameters 
Description 
pW 
Pointer to the object 
Returns

Returns pointer to the text string being used.

Preconditions

none

Side Effects

none

Example
WINDOW *pWindow;
XCHAR textUsed = “USE THIS!”;

    if (WndGetText(pWindow) == NULL)
        WndSetText(&textUsed);
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved