Progress_Init

 

Create the progress window and initialize it. 

 

 

 

Syntax

 

void  *Progress_Init(

          HWND hwnd,

          char *wind_name,

          char *title

) ;

 

 

Parameters

 

hwnd

Pointer to the parent window

 

wind_name

Name to display in the window frame

 

title

title of the progress window.

 

 

Return value

 

The function return a pointer to the progress window.  This pointer is used by all subsequent calls to this progress window.

 

 

Remarks

 

The Progress window can only be used to report progress of a separate child thread.  The updating of the progress window is done in the main program thread.  If you use a progress window for a computation done in the main thread, the progress window will not be updated.

 

 

Requirements

 

Header:

          TomoVision_Util.hpp

          TomoVision_Tools.hpp

          progress.hpp

 

Library:

          TomoVision_Util.lib

          TomoVision_Tools.lib

          progress.lib

 

 

Example

 

 

 

 

 

See also