Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
924 B

  1. // dlgsavep.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CDlgSaveProgress dialog
  5. class CDlgSaveProgress : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CDlgSaveProgress(BOOL bIsSaving = FALSE); // standard constructor
  10. BOOL StepProgress(LONG nSteps = 1);
  11. void SetStepCount(LONG nSteps);
  12. // Dialog Data
  13. //{{AFX_DATA(CDlgSaveProgress)
  14. enum { IDD = IDD_SAVE_PROGRESS };
  15. CProgressCtrl m_progress;
  16. //}}AFX_DATA
  17. // Overrides
  18. // ClassWizard generated virtual function overrides
  19. //{{AFX_VIRTUAL(CDlgSaveProgress)
  20. protected:
  21. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  22. //}}AFX_VIRTUAL
  23. // Implementation
  24. protected:
  25. // Generated message map functions
  26. //{{AFX_MSG(CDlgSaveProgress)
  27. virtual void OnCancel();
  28. //}}AFX_MSG
  29. DECLARE_MESSAGE_MAP()
  30. private:
  31. void ProgressYield();
  32. BOOL m_bWasCanceled;
  33. BOOL m_bIsSaving;
  34. };