TerSetDefDir
Set the default directory and file type.
BOOL TerSetDefDir(hWnd, dir, type)
HWND hWnd; | The handle of the window to be accessed. |
LPBYTE dir; | The default directory. Set to "" to use the program directory. |
int type; | Input file type: |
SAVE_TER: | |
SAVE_RTF: | RTF file |
SAVE_DOCX | DOCX format |
SAVE_TEXT: | Text file |
SAVE_UTEXT: | |
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.