#include <Downloads_Opinions.h>
Public Member Functions | |
| CDownloads_Opinions () | |
| virtual BOOL | PreTranslateMessage (MSG *pMsg) |
| void | UpdateContent (bool bSetAsCurrentTabAfterLoadComplete=false) |
| bool | Create (CWnd *pwndParent) |
| void | Set_ActiveDownload (vmsDownloadSmartPtr dld) |
| virtual | ~CDownloads_Opinions () |
Protected Member Functions | |
| afx_msg LRESULT | OnUpdateContent (WPARAM, LPARAM) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
Protected Attributes | |
| long | m_cSetAsCurrentTabAfterLoadComplete |
| CDownloads_Opinions_CurrentlyShowing | m_enCS |
| CDownloads_Opinions_WBEvents | m_wbEventRcvr |
| vmsDownloadSmartPtr | m_dld |
| CWebBrowser2 | m_wb |
Friends | |
| class | CDownloads_Opinions_WBEvents |
Definition at line 24 of file Downloads_Opinions.h.
| CDownloads_Opinions::CDownloads_Opinions | ( | ) |
Definition at line 20 of file Downloads_Opinions.cpp.
References DOCS_UNKNOWN, m_cSetAsCurrentTabAfterLoadComplete, m_enCS, CDownloads_Opinions_WBEvents::m_pwndOpinions, and m_wbEventRcvr.
| CDownloads_Opinions::~CDownloads_Opinions | ( | ) | [virtual] |
Definition at line 27 of file Downloads_Opinions.cpp.
| BOOL CDownloads_Opinions::PreTranslateMessage | ( | MSG * | pMsg | ) | [virtual] |
| void CDownloads_Opinions::UpdateContent | ( | bool | bSetAsCurrentTabAfterLoadComplete = false |
) |
Definition at line 82 of file Downloads_Opinions.cpp.
References m_cSetAsCurrentTabAfterLoadComplete, and WM_OPINIONS_UPDATECONTENT.
Referenced by CDownloadsWnd::_Events(), CDownloads_Info::ApplyCurTab(), OnCreate(), CDownloadsWnd::OnDldHasOpinions(), and Set_ActiveDownload().
| bool CDownloads_Opinions::Create | ( | CWnd * | pwndParent | ) |
| void CDownloads_Opinions::Set_ActiveDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 39 of file Downloads_Opinions.cpp.
References DOCS_UNKNOWN, m_dld, m_enCS, and UpdateContent().
Referenced by CDownloads_Info::Set_ActiveDownload().
| LRESULT CDownloads_Opinions::OnUpdateContent | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 101 of file Downloads_Opinions.cpp.
References _App, _pwndDownloads, CDownloadsWnd::CheckDldHasOpinions(), fsAppSettings::Community_DisplayOpinionsAtDlding(), DLD_HASOPINIONS_NO, DLD_HASOPINIONS_YES, DOCS_BLANK, DOCS_OPINION, DOCS_OPINIONS, vmsMaliciousDownloadChecker::EncodeUrl(), m_dld, m_enCS, m_wb, CWebBrowser2::Navigate(), and NULL.
| int CDownloads_Opinions::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 61 of file Downloads_Opinions.cpp.
References CDownloads_Opinions_WBEvents::Attach(), CWebBrowser2::Create(), m_wb, m_wbEventRcvr, NULL, and UpdateContent().
| void CDownloads_Opinions::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
friend class CDownloads_Opinions_WBEvents [friend] |
Definition at line 26 of file Downloads_Opinions.h.
long CDownloads_Opinions::m_cSetAsCurrentTabAfterLoadComplete [protected] |
Definition at line 49 of file Downloads_Opinions.h.
Referenced by CDownloads_Opinions(), CDownloads_Opinions_WBEvents::OnDocumentComplete(), CDownloads_Opinions_WBEvents::OnNavigateError(), and UpdateContent().
Definition at line 51 of file Downloads_Opinions.h.
Referenced by CDownloads_Opinions(), CDownloads_Opinions_WBEvents::OnNavigateError(), OnUpdateContent(), and Set_ActiveDownload().
Definition at line 54 of file Downloads_Opinions.h.
Referenced by CDownloads_Opinions(), and OnCreate().
vmsDownloadSmartPtr CDownloads_Opinions::m_dld [protected] |
Definition at line 56 of file Downloads_Opinions.h.
Referenced by CDownloads_Opinions_WBEvents::OnDocumentComplete(), OnUpdateContent(), and Set_ActiveDownload().
CWebBrowser2 CDownloads_Opinions::m_wb [protected] |
Definition at line 58 of file Downloads_Opinions.h.
Referenced by CDownloads_Opinions_WBEvents::Attach(), OnCreate(), OnSize(), and OnUpdateContent().
1.5.6