FileString Class Reference

A string that contains a filename, and thus can be specified with the file dialogs. More...

List of all members.

Public Member Functions

void activeFilter (unsigned inFilterNo)
 Sets the active filter to the specified index.
void addFilter (const SmartUtil::tstring &filterName, const SmartUtil::tstring &filter)
 Accumulates a "JPG files", "*.jpg" fileter for Dialog files shown.
 FileString (const SmartUtil::tstring &inFilePath, bool inLoadFile=true, bool inRelative=false)
 Constructor for an initial filename. FileString( "me.txt" ).


Detailed Description

A string that contains a filename, and thus can be specified with the file dialogs.

The prompt should be like "Soup file ... " to indicate that you can click on the ... and get a file dialog.
FileString * can be passed to InDialog.add functions. InDialog will allow a leftclick on the prompt to bring up a file dialog.

Back to SmartWin website
SourceForge.net Logo