00001 // MainFrm.h : interface of the CMainFrame class 00002 // 00004 00005 #if !defined(AFX_MAINFRM_H__7726F8EE_D1BB_4FF7_918A_173B486B9761__INCLUDED_) 00006 #define AFX_MAINFRM_H__7726F8EE_D1BB_4FF7_918A_173B486B9761__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 00013 #include "progressbar.h" 00014 #include "dialogbar.h" 00015 #include "volumebar.h" 00016 #include "volumedialog.h" 00017 #include "abortdialog.h" 00018 00019 00020 class CMainFrame : public CFrameWnd 00021 { 00022 00023 protected: // create from serialization only 00024 CMainFrame(); 00025 DECLARE_DYNCREATE(CMainFrame) 00026 00027 // Attributes 00028 public: 00029 00030 // Operations 00031 public: 00032 00033 00034 // Overrides 00035 // ClassWizard generated virtual function overrides 00036 //{{AFX_VIRTUAL(CMainFrame) 00037 public: 00038 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 00039 //}}AFX_VIRTUAL 00040 00041 // Implementation 00042 public: 00043 virtual ~CMainFrame(); 00044 #ifdef _DEBUG 00045 virtual void AssertValid() const; 00046 virtual void Dump(CDumpContext& dc) const; 00047 #endif 00048 00049 00050 00051 00052 protected: // control bar embedded members 00053 CProgStatusBar m_wndStatusBar; 00054 CToolBar m_wndToolBar; 00055 CReBar m_wndReBar; 00056 00057 dialogbar m_wndDlgBar; 00058 volumebar m_wndVolumeBar; 00059 CVolumeDialog m_wndVolumeDlg; 00060 00061 CAbortDialog m_wndAbortDiag; 00062 00063 00064 00065 00066 afx_msg LRESULT OnProgress(WPARAM wp, LPARAM lp); 00067 afx_msg LRESULT OnProgressMinMax(WPARAM wp, LPARAM lp); 00068 afx_msg LRESULT OnChangeRendering(WPARAM wp, LPARAM lp); 00069 afx_msg LRESULT OnHideBars(WPARAM wp, LPARAM lp); 00070 afx_msg LRESULT OnShowBar(WPARAM wp, LPARAM lp); 00071 00072 afx_msg void OnAbortOperation(WPARAM wp, LPARAM lp); 00073 00074 afx_msg LRESULT OnShowAbort(WPARAM wp, LPARAM lp); 00075 afx_msg LRESULT OnHideAbort(WPARAM wp, LPARAM lp); 00076 00077 //{{AFX_MSG(CMainFrame) 00078 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 00079 //}}AFX_MSG 00080 DECLARE_MESSAGE_MAP() 00081 }; 00082 00084 00085 //{{AFX_INSERT_LOCATION}} 00086 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00087 00088 #endif // !defined(AFX_MAINFRM_H__7726F8EE_D1BB_4FF7_918A_173B486B9761__INCLUDED_)