LEADTOOLS Common Dialog C++ Class Library Help > Classes and Functions Members > LDialogFile > LDialogFile Class Members > LDialogFile::SetFileName |
#include "ltwrappr.h"
L_INT LDialogFile::SetFileName(pszFile)
L_TCHAR * pszFile; |
/* file name */ |
Sets the file name used by the open/save dialogs.
Parameter |
Description |
pszFile |
Character string that contains the file name to be used by the open/save dialogs. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LTDLGFILE For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Functions: |
Class Members, LDialogFile::GetFileName, LDialogFile::DoModalOpen |
Topics: |
Example
For an example, refer to LDialogFile::DoModalOpen.