Share

CNavDialog::PreprocessData

C++

virtual OkHandlerErr PreprocessData(
    CNavDataArray& array
);

Description

This function is called as part of the OK handler. It prepares the data array supplied in &array for final processing.

This is the first stage of the OK (or commit) handler called when the user chooses or selects the commit button. It examines the text in the data array, possibly combines it with the name of the folder being browsed, possibly changes or adds a file name extension, resolves shortcuts (links) and sets the data type.

On error, the function returns the proper error code to discontinue processing and continue the dialog; otherwise it returns NAV_OKHANDLER_SUCCESS to continue processing.

Parameters

Parameters Description
array Data array being prepared for processing

Links

CNavDialog Class

Was this information helpful?