00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_DOWNLOADS_OPINIONS_H__D5CD8A8E_5101_465C_BC7D_CDE7B97F9BAE__INCLUDED_) 00007 #define AFX_DOWNLOADS_OPINIONS_H__D5CD8A8E_5101_465C_BC7D_CDE7B97F9BAE__INCLUDED_ 00008 00009 #include "webbrowser2.h" 00010 #include "Downloads_Opinions_WBEvents.h" 00011 #include "vmsWebBrowserEvents.h" 00012 #if _MSC_VER > 1000 00013 #pragma once 00014 #endif 00015 00016 enum CDownloads_Opinions_CurrentlyShowing 00017 { 00018 DOCS_UNKNOWN, 00019 DOCS_BLANK, 00020 DOCS_OPINION, 00021 DOCS_OPINIONS, 00022 }; 00023 00024 class CDownloads_Opinions : public CWnd 00025 { 00026 friend class CDownloads_Opinions_WBEvents; 00027 00028 public: 00029 CDownloads_Opinions(); 00030 00031 public: 00032 00033 public: 00034 00035 //{{AFX_VIRTUAL(CDownloads_Opinions) 00036 public: 00037 virtual BOOL PreTranslateMessage(MSG* pMsg); 00038 //}}AFX_VIRTUAL 00039 00040 public: 00041 00042 void UpdateContent(bool bSetAsCurrentTabAfterLoadComplete = false); 00043 bool Create (CWnd* pwndParent); 00044 void Set_ActiveDownload (vmsDownloadSmartPtr dld); 00045 virtual ~CDownloads_Opinions(); 00046 00047 protected: 00048 00049 long m_cSetAsCurrentTabAfterLoadComplete; 00050 00051 CDownloads_Opinions_CurrentlyShowing m_enCS; 00052 00053 afx_msg LRESULT OnUpdateContent (WPARAM, LPARAM); 00054 CDownloads_Opinions_WBEvents m_wbEventRcvr; 00055 00056 vmsDownloadSmartPtr m_dld; 00057 00058 CWebBrowser2 m_wb; 00059 //{{AFX_MSG(CDownloads_Opinions) 00060 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 00061 afx_msg void OnSize(UINT nType, int cx, int cy); 00062 //}}AFX_MSG 00063 DECLARE_MESSAGE_MAP() 00064 }; 00065 00066 //{{AFX_INSERT_LOCATION}//}} 00067 00068 #endif
1.5.6