#if !defined(AFX_PROGRESSDLG_H__9B2AA9A0_4596_474D_BA02_C475FA8C0754__INCLUDED_) #define AFX_PROGRESSDLG_H__9B2AA9A0_4596_474D_BA02_C475FA8C0754__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ProgressDlg.h : header file // #include "StrSCU.h" //#include "CLDSTR32Dlg.h" class CCLDSTR32Dlg; ///////////////////////////////////////////////////////////// // Derived class from StrSCU.cpp class CStoreClass : public LStoreScu { public: CDialog* m_pWnd; CStoreClass () : m_pWnd(NULL) { } L_VOID OnStatus(L_UINT uStatus, L_INT nErrorCode); L_VOID OnProgressFiles(L_CHAR* pszFielName); CString GetStatusText(L_UINT uStatusConst, L_INT nErrorCode); }; ///////////////////////////////////////////////////////////////////////////// // ProgressDlg dialog class ProgressDlg : public CDialog { // Construction public: ProgressDlg(CWnd* pParent = NULL); // standard constructor CCLDSTR32Dlg* m_pCurMainDlg; CStoreClass m_StrSCU; L_VOID CloseDialog(); static void CALLBACK EXPORT TimerProc(HWND hWnd, UINT nMsg, UINT nIDEvent, DWORD dwTime); static ProgressDlg* m_pStaticDlg; // L_VOID SetMainDlgPointer(CLDSTR32Dlg* pCurMainDlg) // Dialog Data //{{AFX_DATA(ProgressDlg) enum { IDD = IDD_FILE }; CAnimateCtrl m_Animate; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(ProgressDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(ProgressDlg) virtual BOOL OnInitDialog(); virtual void OnCancel(); afx_msg void OnButCancel(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: L_UINT m_uCountTimer; //void OnTimer(UINT nIDEvent); L_VOID AbortStoreProcess(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PROGRESSDLG_H__9B2AA9A0_4596_474D_BA02_C475FA8C0754__INCLUDED_)