LDialogFile::SetOpenFile

#include "ltwrappr.h"

L_INT LDialogFile::SetOpenFile(pOpenFileName)

LPOPENFILENAME pOpenFileName;

pointer to a structure

Sets the parameters to be displayed by the LDialogFile::DoModalOpen function when the dialog first appears.

Parameter

Description

pOpenFileName

Pointer to a OPENFILENAME structure that contains the parameters to be displayed by the LDialogFile::DoModalSave and LDialogFile::DoModalOpen functions when the dialogs first appear.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The parameters of the structure should be set before displaying the dialog.

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

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Common Dialog C++ Class Library Help