#include <HFE_Address.h>
Public Member Functions | |
| CHFE_Address () | |
| void | ClearHistory () |
| CString | PopUrl () |
| void | PushUrl (LPCSTR pszUrl) |
| void | UpdateUrl () |
| void | ApplyLanguage () |
| LPCSTR | GetUrl () |
| BOOL | Create (CWnd *pParent) |
| virtual | ~CHFE_Address () |
Protected Member Functions | |
| virtual BOOL | OnNotify (WPARAM wParam, LPARAM lParam, LRESULT *pResult) |
| void | HfeGo (BOOL bPushUrl=TRUE) |
| afx_msg void | OnHfeBack () |
| void | CreateBars () |
| void | DrawUrlFrame (CDC *dc) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
| afx_msg void | OnPaint () |
| afx_msg void | OnHfeGo () |
Protected Attributes | |
| fs::list< CString > | m_vAddrs |
| CImageList | m_imgsBarGo |
| CImageList | m_imgsBarBack |
| CImageList | m_imgsBarBack_D |
| CToolBar | m_barGo |
| CToolBar | m_barBack |
| CString | m_strUrl |
| CRect | m_rcUrl |
| CFont | m_font |
| CComboBox_Ex | m_wndUrl |
Friends | |
| class | CHFEWnd |
| class | CHFE_FileList |
Definition at line 15 of file HFE_Address.h.
| CHFE_Address::CHFE_Address | ( | ) |
Definition at line 20 of file HFE_Address.cpp.
| CHFE_Address::~CHFE_Address | ( | ) | [virtual] |
Definition at line 24 of file HFE_Address.cpp.
| void CHFE_Address::ClearHistory | ( | ) |
Definition at line 301 of file HFE_Address.cpp.
References m_wndUrl.
Referenced by CHFEWnd::ClearHistory().
| CString CHFE_Address::PopUrl | ( | ) |
| void CHFE_Address::PushUrl | ( | LPCSTR | pszUrl | ) |
Definition at line 217 of file HFE_Address.cpp.
References BOOL, fsURL::Crack(), fsURL::Create(), fsURL::GetHostName(), fsURL::GetInternetScheme(), fsURL::GetPassword(), fsURL::GetPath(), fsURL::GetPort(), fsURL::GetUserName(), m_strUrl, m_vAddrs, and NULL.
Referenced by HfeGo(), and CHFE_FileList::OnHfeOpenfolder().
| void CHFE_Address::UpdateUrl | ( | ) |
Definition at line 152 of file HFE_Address.cpp.
References BOOL, fsURL::Crack(), FALSE, fsInternetFileListMgr::GetCurrentUrl(), CHFEWnd::GetMgr(), fsURL::GetPassword(), fsURL::GetUserName(), IR_SUCCESS, m_strUrl, and m_wndUrl.
Referenced by CHFEWnd::_EventsFunc().
| void CHFE_Address::ApplyLanguage | ( | ) |
| LPCSTR CHFE_Address::GetUrl | ( | ) |
Definition at line 123 of file HFE_Address.cpp.
References m_strUrl, and m_wndUrl.
Referenced by CHFEWnd::_threadGoUrl(), and HfeGo().
| BOOL CHFE_Address::Create | ( | CWnd * | pParent | ) |
Definition at line 39 of file HFE_Address.cpp.
References FALSE, NULL, and TRUE.
Referenced by CHFEWnd::OnCreate().
| BOOL CHFE_Address::OnNotify | ( | WPARAM | wParam, | |
| LPARAM | lParam, | |||
| LRESULT * | pResult | |||
| ) | [protected, virtual] |
Definition at line 277 of file HFE_Address.cpp.
References ID_HFE_BACK, ID_HFE_GO, L_BACK, L_GO, LS, m_barGo, and TRUE.
| void CHFE_Address::HfeGo | ( | BOOL | bPushUrl = TRUE |
) | [protected] |
Definition at line 262 of file HFE_Address.cpp.
References _LastUrlPaths, fsCmdHistoryMgr::AddRecord(), fsCmdHistoryMgr::GetRecord(), fsCmdHistoryMgr::GetRecordCount(), GetUrl(), m_strUrl, m_wndUrl, CHFEWnd::OnGo(), and PushUrl().
Referenced by OnHfeBack(), and OnHfeGo().
| void CHFE_Address::OnHfeBack | ( | ) | [protected] |
| void CHFE_Address::CreateBars | ( | ) | [protected] |
Definition at line 175 of file HFE_Address.cpp.
References FALSE, ID_HFE_BACK, ID_HFE_GO, IDB_BACK, IDB_BACK_D, IDB_GO, m_barBack, m_barGo, m_imgsBarBack, m_imgsBarBack_D, m_imgsBarGo, and SBMP.
Referenced by OnCreate().
| void CHFE_Address::DrawUrlFrame | ( | CDC * | dc | ) | [protected] |
| int CHFE_Address::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 50 of file HFE_Address.cpp.
References _LastUrlPaths, CComboBox_Ex::Create(), CreateBars(), fsCmdHistoryMgr::GetRecord(), fsCmdHistoryMgr::GetRecordCount(), ID_HFE_GO, m_font, m_wndUrl, and CComboBox_Ex::SetReturnID().
| void CHFE_Address::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
| void CHFE_Address::OnPaint | ( | ) | [protected] |
Definition at line 80 of file HFE_Address.cpp.
References DrawUrlFrame(), L_ADDRESS, LS, m_font, and m_rcUrl.
| void CHFE_Address::OnHfeGo | ( | ) | [protected] |
friend class CHFEWnd [friend] |
Definition at line 17 of file HFE_Address.h.
friend class CHFE_FileList [friend] |
Definition at line 18 of file HFE_Address.h.
fs::list<CString> CHFE_Address::m_vAddrs [protected] |
Definition at line 51 of file HFE_Address.h.
Referenced by CHFE_FileList::OnUpdateToolBar(), PopUrl(), and PushUrl().
CImageList CHFE_Address::m_imgsBarGo [protected] |
CImageList CHFE_Address::m_imgsBarBack [protected] |
CImageList CHFE_Address::m_imgsBarBack_D [protected] |
CToolBar CHFE_Address::m_barGo [protected] |
CToolBar CHFE_Address::m_barBack [protected] |
CString CHFE_Address::m_strUrl [protected] |
Definition at line 57 of file HFE_Address.h.
Referenced by GetUrl(), HfeGo(), PushUrl(), and UpdateUrl().
CRect CHFE_Address::m_rcUrl [protected] |
CFont CHFE_Address::m_font [protected] |
CComboBox_Ex CHFE_Address::m_wndUrl [protected] |
Definition at line 61 of file HFE_Address.h.
Referenced by ClearHistory(), CHFE_FileList::DownloadSelected(), GetUrl(), HfeGo(), OnCreate(), OnHfeBack(), CHFEWnd::OnSetFocus(), OnSize(), and UpdateUrl().
1.5.6