OPENDLGOPTIONS_XLS

typedef struct _OPENDLGOPTIONS_XLS
{
   L_UINT uStructSize;
   FILEXLSOPTIONS XLSOptions;
} OPENDLGOPTIONS_XLS, * LPOPENDLGOPTIONS_XLS;

The OPENDLGOPTIONS_XLS structure provides load option information for XLS file formats. This information will be used by the LFileSettings::SetXLSOptions function.

Member

Description

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

XLSOptions

FILEXLSOPTIONS structure that contains the load options for a XLS file.

Comments

The LDialogFile::DoModalOpen function displays the Open dialog and gets options for the LFile::LoadFile function. After the user presses the Open button on the dialog, one or more OPENDLGFILEDATA structures will be updated based on the file(s) selected in the Open dialog. The OPENDLGFILEDATA.FileOptions member is an OPENDLGOPTIONS structure. This structure is updated based on the file type(s) selected in the Open dialog. If the OPENDLGOPTIONS.nType member is FILE_XLS, the OPENDLGOPTIONS.pOptions member will point to an OPENDLGOPTIONS_XLS structure, which is, in turn, updated by the XLS load options.