Table of Contents

 
GetText
 

Purpose

Returns the contents of a text object

 

Protoype

string CTextMngr::GetText (string str_text_id)
 

Parameters

text_id the ID of the text object to extract the text string from
 

Description

Since the actual text that is displayed on the screen is stored in a text object, this function takes the object ID and extracts the displayed text.

 
Use
CTextMngr text;
string str_text = text.GetText("my_text");
 

Prev: GetSelectedText