home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / oledb / tablecopy / progress.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-12  |  1.2 KB  |  50 lines

  1. //-----------------------------------------------------------------------------
  2. // Microsoft OLE DB TABLECOPY Sample
  3. // Copyright (C) 1995-1998 Microsoft Corporation
  4. //
  5. // @doc
  6. //
  7. // @module PROGRESS.H
  8. //
  9. //-----------------------------------------------------------------------------
  10.  
  11. #ifndef _PROGRESS_H_
  12. #define _PROGRESS_H_
  13.  
  14. //////////////////////////////////////////////////////////////////////
  15. // Includes
  16. //
  17. //////////////////////////////////////////////////////////////////////
  18. #include "wizard.h"
  19.  
  20.  
  21.  
  22. //////////////////////////////////////////////////////////////////////
  23. // CProgress
  24. //
  25. //////////////////////////////////////////////////////////////////////
  26. class CProgress : public CDialogBase
  27. {
  28. public:
  29.  
  30.     //Constructors
  31.     CProgress(HWND hWnd, HINSTANCE hInst);
  32.     virtual ~CProgress();
  33.  
  34.     //members
  35.     static  BOOL WINAPI DlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
  36.     virtual ULONG   Display();
  37.     virtual ULONG   Destroy();
  38.  
  39.     virtual BOOL SetHeading(WCHAR* pwszText);
  40.     virtual BOOL SetText(WCHAR* pwszText);
  41.  
  42.     virtual BOOL Update(WCHAR* pwszText);
  43.     virtual BOOL Cancel();
  44.  
  45.     //data
  46.     BOOL        m_fCancel;
  47. };
  48.  
  49. #endif //_PROGRESS_H_
  50.