The OPENDLGOPTIONS_XLS structure provides load option information for Microsoft Excel 2003 (XLS) and Microsoft Excel 2007 (XLSX) files. This information will be used by the L_SetXLSOptions function.
typedef struct _OPENDLGOPTIONS_XLS
{
L_UINT uStructSize;
FILEEXCELOPTIONS ExcelOptions;
} OPENDLGOPTIONS_XLS, * LPOPENDLGOPTIONS_XLS;
Size of this structure, in bytes. Use the sizeof operator to calculate this value.
FILEEXCELOPTIONS structure that contains the load options for a Microsoft Excel 2003 (XLS) and Microsoft Excel 2007 (XLSX) files.
The L_DlgOpen function displays the Open dialog and gets options for the 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 or FILE_XLSX, the OPENDLGOPTIONS.pOptions member will point to an OPENDLGOPTIONS_XLS structure, which is, in turn, updated by the Excel load options.