PROGRESS.H
//----------------------------------------------------------------------------- 
// Microsoft OLE DB TABLECOPY Sample 
// Copyright (C) 1996 By Microsoft Corporation. 
// 
// @doc 
// 
// @module PROGRESS.H 
// 
//----------------------------------------------------------------------------- 
 
#ifndef _PROGRESS_H_ 
#define _PROGRESS_H_ 
 
////////////////////////////////////////////////////////////////////// 
// Includes 
// 
////////////////////////////////////////////////////////////////////// 
#include "wizard.h" 
 
 
 
////////////////////////////////////////////////////////////////////// 
// CProgress 
// 
////////////////////////////////////////////////////////////////////// 
class CProgress : public CDialog 
{ 
public: 
 
//Constructors 
CProgress(HWND hWnd, HINSTANCE hInst); 
virtual ~CProgress(); 
 
//members 
ULONG   Display(); 
static  BOOL WINAPI DlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 
 
virtual BOOL StopProgress(); 
 
virtual BOOL SetWorkingItem(WCHAR* pwszWorking); 
virtual BOOL SetProgressText(WCHAR* pwszProgress); 
 
virtual BOOL Cancel(); 
virtual BOOL ShowCancel(BOOL fShow); 
virtual BOOL RestartProgress(); 
 
virtual BOOL UpdateProgress(WCHAR* pwszItem, WCHAR* pwszText); 
 
//data 
BOOLm_fCancel; 
}; 
 
#endif //_PROGRESS_H_