LDialogFile::SetOpenFile

Summary

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

Syntax

#include "ltwrappr.h"

L_INT LDialogFile::SetOpenFile(pOpenFileName)

Parameters

LPOPENFILENAME pOpenFileName

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

Returns

Value Meaning
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

See Also

Functions

Topics

Example

For an example, refer to LDialogFile::DoModalSave.

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

LEADTOOLS Common Dialog C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.