You are here: C++ Support Classes > dtSearch Namespace > Classes > DIndexJob Class > DIndexJob::OnProgressUpdate Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DIndexJob::OnProgressUpdate Method

During indexing, OnProgressUpdate will be called frequently with information about the progress of the indexing job.

Syntax
C++
virtual void OnProgressUpdate(dtsIndexProgressInfo& info);
Parameters
Description
dtsIndexProgressInfo& info
Structure with information on the status of the index upate

During indexing, OnProgressUpdate will be called frequently with information about the progress of the indexing job. You can use this information to show the user a progress bar or other status indicator during indexing. To access this information, create a class based on DIndexJob that overrides OnProgressUpdate. Example: 

 

class CMyIndexJob : public DIndexJob { public: virtual void OnProgressUpdate(dtsIndexProgressInfo& info) { // ... show the user the update info in a dialog box } };