copydlgs.h
Upload User: caisha3
Upload Date: 2013-09-21
Package Size: 208739k
Code Size: 1k
Category:

Windows Develop

Development Platform:

Visual C++

  1. #ifndef _INC_CSCVIEW_COPYDLGS_H
  2. #define _INC_CSCVIEW_COPYDLGS_H
  3. //////////////////////////////////////////////////////////////////////////////
  4. /*  File: copydlgs.h
  5.     Description: Provides dialogs used in the "Copy To Folder" operation.
  6.     Revision History:
  7.     Date        Description                                          Programmer
  8.     --------    ---------------------------------------------------  ----------
  9.     01/16/98    Initial creation.                                    BrianAu
  10. */
  11. ///////////////////////////////////////////////////////////////////////////////
  12. #ifndef _WINDOWS_
  13. #   include <windows.h>
  14. #endif
  15. #ifndef _INC_CSCVIEW_PROGDLG_H
  16. #   include "progdlg.h"
  17. #endif
  18. class CopyProgressDialog : public CProgressDialog
  19. {
  20.     public:
  21.         CopyProgressDialog(void) throw();
  22.         void UpdateStatusText(LPCTSTR pszName, bool bIsFolder);
  23.     private:
  24.         int  m_iCopyOp;    // 0 = copying file, 1 = creating folder.
  25. };
  26. class ConfirmCopyOverDialog
  27. {
  28.     public:
  29.         ConfirmCopyOverDialog(void) throw();
  30.         ~ConfirmCopyOverDialog(void) throw();
  31.         int Run(HINSTANCE hInstance, HWND hwndParent, LPCTSTR pszFile);
  32.     private:
  33.         HINSTANCE m_hInstance;
  34.         HWND      m_hwnd;
  35.         CString   m_strFile;
  36.         static BOOL CALLBACK DlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
  37.         void OnInitDialog(HWND hwnd);
  38. };
  39. #endif // _INC_CSCVIEW_COPYDLGS_H