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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.