Table of Contents

 
GetSelectedText
 

Purpose

Returns the ID of the currently selected text object

 

Protoype

string CTextMngr::GetSelectedText ()
 

Description

When a Selection Text object has been selected, you can use this function to get the ID of the currently slected text object. If there is no text object selected, a null string ("") is returned.

 

Use

CTextMngr text;
string str_selected = text.GetSelectedText();
 

Prev: GetNumTexts
Next: GetText