Progress indicator Home

These are the progress indicator functions:

Function Meaning
lcProgressCreate Creates progress indicator window
lcProgressSetText Sets a text displayed inside of the window.
lcProgressStart Sets a range of progress positions
lcProgressSetPos Sets progress bar position
lcProgressInc Increments progress bar position
lcProgressDelete Deletes progress indicator window


Code sample:
//-----------------------------------------------
void LcAppDemo01::TestProgress ()
{
  int MaxVal = 5000000;
  int i;
  if (lcProgressCreate( m_hwMain, 300, 90, L"Progress Demo" )){
    lcProgressSetText( L"Testing..." );
    lcProgressStart( 0, MaxVal );
    for (i=0; i<MaxVal; i++){
      ...
      lcProgressInc();
    }
    lcProgressDelete();
    lcWndSetFocus( m_hLcWnd );
  }
}