LDialogFile::SetFileName

#include "ltwrappr.h"

L_INT LDialogFile::SetFileName(pszFile)

L_TCHAR L_FAR * 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
LTDLGKRN
LTDLGUTL
LTDLGCTRL
LTDLGCOM
LTFIL
LTDIS
LTIMG

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:

Using Imaging Common Dialog

Example

For an example, refer to LDialogFile::DoModalOpen.