TerSetDefDir
Set the default directory and file type.
bool TerSetDefDir( dir, type)
string dir; | The default directory. Set to "" to use the program directory. |
int type; | Input file type: |
| SAVE_RTF: | RTF file |
| SAVE_DOCX | DOCX format |
| SAVE_TEXT: | Text file |
| SAVE_UTEXT: | Unicode Text Format (not available in the 16 bit product) |
Description: This function is used to set the initial directory and the file type display by the File Open dialog.
Return Value: This function returns true when successful.