ChoiceString Class Reference

A string that must be selected from one of a list of possible strings. More...

List of all members.

Public Member Functions

 ChoiceString (const SmartUtil::tstring &inBarSeperatedStrings, int inChossenIndex=0)
 Constructor accepting "scissors|rock|paper".
 ChoiceString (const vector< SmartUtil::tstring > &inPossibleStrings, int inChossenIndex=0)
 Constructor accepting vector< SmartUtil::tstring >.
 ChoiceString (char *inStrings[], int inNumStrings, int inChossenIndex=0)
 Constructor accepting char * inStrings[] = { "scissors", "rock", "paper" };.


Detailed Description

A string that must be selected from one of a list of possible strings.

The current selection is itsChoosenIndex. FileString * can be passed to InDialog.add functions, and it results in a combo box presenting the list of possible strings.

Back to SmartWin website
SourceForge.net Logo