CMainFrame Class Reference

#include <MainFrm.h>

List of all members.

Public Member Functions

 CMainFrame ()
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual BOOL OnCmdMsg (UINT nID, int nCode, void *pExtra, AFX_CMDHANDLERINFO *pHandlerInfo)
virtual void RecalcLayout (BOOL bNotify=TRUE)
void SetActivePlugin (int nIndex)
bool ShowSpreadHelpDialogIfRequired ()
BOOL IsFloatingInfoWindowVisible ()
void ShowFloatingInfoWindow (BOOL bShow)
vmsFDMCustomizationsget_Customizations ()
void RebuidDownloadsList ()
void ShowTrayMenu (BOOL bModeTray=TRUE)
afx_msg void OnUpdateLngMenu (CCmdUI *pCmdUI)
void SaveState ()
void AddPluginMenuView (HMENU hMenuView, fsSetImage *pImages, int cImages, wgMenuViewItem *pItems, int cItems)
void RemovePluginMenuView ()
void RemovePluginMenu ()
void AddPluginMenu (HMENU hMenu, fsSetImage *pImages, int cImages)
virtual ~CMainFrame ()

Static Public Member Functions

static void ShowTimeoutBalloon (LPCSTR pszInfo, LPCSTR pszTitle, DWORD dwIcon=NIIF_INFO, BOOL bClear=FALSE)

Public Attributes

vmsFDMCustomizations m_Customizations
BOOL m_bInited
BOOL m_bCloseAsMinimize
BOOL m_bMinToTray
CFloatingWndsThreadm_pFloatWndsThread
CImageList m_imgsMenu
CImageList m_dimgsMenu
CImageList m_imgsTool
CImageList m_dimgsTool

Protected Member Functions

virtual BOOL OnNotify (WPARAM wParam, LPARAM lParam, LRESULT *pResult)
int GetTumMenuPosition ()
afx_msg LRESULT OnPowerBroadCast (WPARAM, LPARAM)
void TotalTraffic_CheckMonthChange ()
void ReadTotalTrafficInfo ()
afx_msg void OnUpdateTotalSpeed (CCmdUI *pCmdUI)
afx_msg void OnUpdateTrafficThisMonth (CCmdUI *pCmdUI)
afx_msg void OnLDF (UINT nID)
BOOL ImportListOfDownloads_FromDLInfoListFile (LPCSTR pszFile)
BOOL ImportDownload (IXMLDOMNode *pNode, DLDS_LIST_REF v)
BOOL ImportListOfDownloads_FromURLListFile (LPCSTR pszFile)
afx_msg void OnTUMChanged ()
BOOL is_MouseInTray ()
afx_msg void OnUpdateSkin (CCmdUI *pCmdUI)
afx_msg void OnSkin (UINT nID)
void BuildSkinsMenu ()
int get_SkinsMenuPos ()
void SetupButton ()
void DisplayBanner (int iIndex)
BOOL ReadCusomizationInfo ()
afx_msg LRESULT OnShowTrayMenu (WPARAM, LPARAM)
void LoadToolImages ()
void Balloon_ShowDLInfo (BOOL bCheckSettings=TRUE)
void ShowBalloon (LPCSTR pszInfo, LPCSTR pszTitle, BOOL bCheckSettings=TRUE, DWORD dwIcon=NIIF_INFO)
void HideBalloon ()
afx_msg void OnIdUpdate ()
void RemovePluginMenuView2 ()
void AddPluginMenuView (HMENU hMenu, fsSetImage *pImages, int cImages)
afx_msg void OnTBChange (NMHDR *, LRESULT *res)
afx_msg void OnTBGetButtonInfo (NMHDR *, LRESULT *res)
afx_msg void OnTBReset (NMHDR *, LRESULT *res)
afx_msg void OnTBCustHelp (NMHDR *, LRESULT *res)
afx_msg void OnTBEndDrag (NMHDR *, LRESULT *res)
afx_msg void OnTBBeginDrag (NMHDR *, LRESULT *res)
afx_msg void OnTBEndAdjust (NMHDR *, LRESULT *res)
afx_msg void OnTBBeginAdjust (NMHDR *, LRESULT *res)
afx_msg void OnTBQueryInsert (NMHDR *, LRESULT *res)
afx_msg void OnTBQueryDelete (NMHDR *, LRESULT *res)
virtual LRESULT WindowProc (UINT msg, WPARAM wp, LPARAM lp)
afx_msg void OnDropBox ()
void UpdateSettings ()
afx_msg void OnImportSettings ()
afx_msg void OnExportSettings ()
afx_msg void OnSpiderDLWebPage ()
afx_msg void OnSpiderDefSettings ()
void SetMenuImages ()
void ApplyLanguageToMenu ()
void ApplyLanguage ()
afx_msg void OnLngMenu (UINT id)
void BuildLngMenu ()
afx_msg void OnViewStatusbar ()
afx_msg void OnViewToolbar ()
afx_msg void OnUpdatePluginMenuView (CCmdUI *pCmdUI)
afx_msg void OnUpdateDropBox (CCmdUI *pCmdUI)
afx_msg void OnAltPlusDigit (UINT nID)
void OnUpdateSwitchTo (CCmdUI *pCmdUI)
afx_msg void OnSwitchTo (UINT nID)
void BuildSwitchToMenu ()
void UpdateTitle ()
void StartUpdate (BOOL bShowDlg)
void SaveSettings ()
void ReadSettings ()
void LoadMenuImages ()
afx_msg LRESULT OnTrayMsg (WPARAM wp, LPARAM lp)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSetFocus (CWnd *pOldWnd)
afx_msg void OnClose ()
afx_msg void OnDlddefoptions ()
afx_msg void OnDldroptions ()
afx_msg void OnTumHeavy ()
afx_msg void OnUpdateTumHeavy (CCmdUI *pCmdUI)
afx_msg void OnTumLight ()
afx_msg void OnUpdateTumLight (CCmdUI *pCmdUI)
afx_msg void OnTumMedium ()
afx_msg void OnUpdateTumMedium (CCmdUI *pCmdUI)
afx_msg void OnOptmaster ()
afx_msg void OnDldCreate ()
afx_msg void OnTaskCreateNew ()
afx_msg void OnNeedExit ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnInitMenuPopup (CMenu *pPopupMenu, UINT nIndex, BOOL bSysMenu)
afx_msg void OnSaveall ()
afx_msg void OnAppExit ()
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
afx_msg void OnShowmainwindow ()
afx_msg void OnStartall ()
afx_msg void OnStopall ()
afx_msg void OnHelp ()
afx_msg void OnHomepage ()
afx_msg void OnRecommend ()
afx_msg void OnSupport ()
afx_msg void OnUpdate ()
afx_msg void OnProggeneralsettings ()
afx_msg void OnSysCommand (UINT nID, LPARAM lParam)
afx_msg void OnDial ()
afx_msg void OnEndSession (BOOL bEnding)
afx_msg void OnHowregister ()
afx_msg void OnHangupwhendone ()
afx_msg void OnUpdateHangupwhendone (CCmdUI *pCmdUI)
afx_msg void OnTurnoffwhendone ()
afx_msg void OnUpdateTurnoffwhendone (CCmdUI *pCmdUI)
afx_msg void OnEnterkey ()
afx_msg void OnBuyonline ()
afx_msg void OnMonitorbrowser ()
afx_msg void OnUpdateMonitorbrowser (CCmdUI *pCmdUI)
afx_msg void OnMonitorclipboard ()
afx_msg void OnUpdateMonitorclipboard (CCmdUI *pCmdUI)
afx_msg void OnAddsite ()
afx_msg void OnViewSwbar ()
afx_msg void OnUpdateViewSwbar (CCmdUI *pCmdUI)
afx_msg void OnNcRButtonUp (UINT nHitTest, CPoint point)
afx_msg void OnTimer (UINT nIDEvent)
afx_msg BOOL OnQueryEndSession ()
afx_msg void OnInsert ()
afx_msg void OnDlinfobox ()
afx_msg void OnDllangfiles ()
afx_msg void OnFDC ()
afx_msg void OnProceedFurherInitialization ()
afx_msg void OnAppAbout ()
afx_msg void OnExportlistofdownloads ()
afx_msg void OnImportlistofdownloads ()
afx_msg void OnExitwhendone ()
afx_msg void OnUpdateExitwhendone (CCmdUI *pCmdUI)
afx_msg void OnFind ()
afx_msg void OnFindnext ()
afx_msg void OnUpdateFindnext (CCmdUI *pCmdUI)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg void OnDonate ()
afx_msg void OnDldCreatebatch ()
afx_msg void OnFileImportImportlistofdownloadsfromclipboard ()
afx_msg void OnOptionsSm ()
afx_msg void OnSpreadhelp ()
afx_msg void OnExportdlhist ()
afx_msg void OnUpdateExportdlhist (CCmdUI *pCmdUI)
afx_msg void OnUpdateLdf0 (CCmdUI *pCmdUI)
afx_msg void OnLdfClear ()
afx_msg void OnUpdateLdfClear (CCmdUI *pCmdUI)
afx_msg void OnPausealldlds ()
afx_msg void OnUpdatePausealldlds (CCmdUI *pCmdUI)
afx_msg void OnUpdateDlinfobox (CCmdUI *pCmdUI)
afx_msg void OnAppExit2 ()
afx_msg void OnPortableFdm ()
afx_msg void OnUpldroptions ()
afx_msg void OnLoadatstartup ()
afx_msg void OnUpdateLoadatstartup (CCmdUI *pCmdUI)

Static Protected Member Functions

static DWORD WINAPI _threadUpdate (LPVOID lp)
static void _UpdateMgrEvents (fsUpdateMgrEvent ev, UINT *puInfo, LPVOID lp)

Protected Attributes

CAppStatusBar m_wndStatusBar
CChildView m_wndView
BOOL m_bQueryForExit
UINT m_nUploadsMsg1
UINT m_nShutdownMsg
UINT64 m_nTrafficUsedPrevMonth
UINT64 m_nTrafficUsedThisMonth
UINT64 m_nTrafficUpldPrevMonth
UINT64 m_nTrafficUpldThisMonth
int m_nTotalTraffic_CurrMonth
bool m_bNeedSpreadHelpDialog
bool m_bDontShowSHD
CWnd_FDMGetCustVer_Btn m_wndFDMCustBtn
CFDCButton m_btnFDC
CWnd_Banner m_wndBanner
CReBar m_wndReBar
CString m_strTimeoutBallon_Msgs
BOOL m_bTrayMenuShowing
BOOL m_bBalloonShowing
int m_balloonX
int m_balloonY
int m_cPluginMenuViewInserted
CUpdateDlgm_pUpdateDlg
fsODMenu m_odTrayMenu
fsODMenu m_odmenu
wgMenuViewItemm_pPluginMenuViewItems
int m_cPluginMenuViewItems
int m_cMenuMainItemsAdded
int m_cMenuViewItemsAdded

Static Protected Attributes

static UINT m_umsgTaskBarCreated = 0

Friends

class CFloatingWnd
class CFdmApp
class CFloatingInfo_ListCtrlWnd


Detailed Description

Definition at line 33 of file MainFrm.h.


Constructor & Destructor Documentation

CMainFrame::CMainFrame (  ) 

CMainFrame::~CMainFrame (  )  [virtual]

Definition at line 205 of file MainFrm.cpp.

References m_pUpdateDlg, and SAFE_DELETE.


Member Function Documentation

BOOL CMainFrame::PreCreateWindow ( CREATESTRUCT &  cs  )  [virtual]

Definition at line 402 of file MainFrm.cpp.

References FALSE, IDR_MAINFRAME, and NULL.

BOOL CMainFrame::OnCmdMsg ( UINT  nID,
int  nCode,
void *  pExtra,
AFX_CMDHANDLERINFO *  pHandlerInfo 
) [virtual]

Definition at line 440 of file MainFrm.cpp.

References m_wndView, and TRUE.

void CMainFrame::RecalcLayout ( BOOL  bNotify = TRUE  )  [virtual]

Definition at line 2072 of file MainFrm.cpp.

References _TBMgr, CToolBarEx::AutoSize(), FALSE, m_btnFDC, m_wndReBar, and m_wndView.

Referenced by OnSize().

BOOL CMainFrame::OnNotify ( WPARAM  wParam,
LPARAM  lParam,
LRESULT *  pResult 
) [protected, virtual]

void CMainFrame::SetActivePlugin ( int  nIndex  ) 

bool CMainFrame::ShowSpreadHelpDialogIfRequired (  ) 

BOOL CMainFrame::IsFloatingInfoWindowVisible (  ) 

void CMainFrame::ShowFloatingInfoWindow ( BOOL  bShow  ) 

vmsFDMCustomizations * CMainFrame::get_Customizations (  ) 

Definition at line 2343 of file MainFrm.cpp.

References m_Customizations.

Referenced by fsUpdateMgr::CheckForUpdate().

void CMainFrame::RebuidDownloadsList (  ) 

void CMainFrame::ShowTimeoutBalloon ( LPCSTR  pszInfo,
LPCSTR  pszTitle,
DWORD  dwIcon = NIIF_INFO,
BOOL  bClear = FALSE 
) [static]

void CMainFrame::ShowTrayMenu ( BOOL  bModeTray = TRUE  ) 

void CMainFrame::OnUpdateLngMenu ( CCmdUI *  pCmdUI  ) 

void CMainFrame::SaveState (  ) 

void CMainFrame::AddPluginMenuView ( HMENU  hMenuView,
fsSetImage pImages,
int  cImages,
wgMenuViewItem pItems,
int  cItems 
)

void CMainFrame::RemovePluginMenuView (  ) 

void CMainFrame::RemovePluginMenu (  ) 

void CMainFrame::AddPluginMenu ( HMENU  hMenu,
fsSetImage pImages,
int  cImages 
)

int CMainFrame::GetTumMenuPosition (  )  [protected]

Definition at line 2900 of file MainFrm.cpp.

References _pwndUploads, FALSE, IS_PORTABLE_MODE, and CUploadsWnd::m_pwndUploads.

Referenced by ApplyLanguageToMenu().

LRESULT CMainFrame::OnPowerBroadCast ( WPARAM  wParam,
LPARAM   
) [protected]

void CMainFrame::TotalTraffic_CheckMonthChange (  )  [protected]

void CMainFrame::ReadTotalTrafficInfo (  )  [protected]

void CMainFrame::OnUpdateTotalSpeed ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnUpdateTrafficThisMonth ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnLDF ( UINT  nID  )  [protected]

BOOL CMainFrame::ImportListOfDownloads_FromDLInfoListFile ( LPCSTR  pszFile  )  [protected]

Definition at line 2555 of file MainFrm.cpp.

References CDownloadsWnd::CreateDownloads(), FALSE, ImportDownload(), NULL, and TRUE.

Referenced by OnImportlistofdownloads().

BOOL CMainFrame::ImportDownload ( IXMLDOMNode *  pNode,
DLDS_LIST_REF  v 
) [protected]

BOOL CMainFrame::ImportListOfDownloads_FromURLListFile ( LPCSTR  pszFile  )  [protected]

void CMainFrame::OnTUMChanged (  )  [protected]

Definition at line 2495 of file MainFrm.cpp.

References _DlgMgr, and fsDialogsMgr::DoModal().

BOOL CMainFrame::is_MouseInTray (  )  [protected]

Definition at line 2474 of file MainFrm.cpp.

References m_balloonX, and m_balloonY.

Referenced by OnTimer(), and OnTrayMsg().

void CMainFrame::OnUpdateSkin ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 2469 of file MainFrm.cpp.

References _SkinMgr, vmsSkinMgr::get_Current(), and ID_SKIN_0.

void CMainFrame::OnSkin ( UINT  nID  )  [protected]

void CMainFrame::BuildSkinsMenu (  )  [protected]

int CMainFrame::get_SkinsMenuPos (  )  [protected]

Definition at line 2437 of file MainFrm.cpp.

Referenced by ApplyLanguageToMenu(), and BuildSkinsMenu().

void CMainFrame::SetupButton (  )  [protected]

Definition at line 2322 of file MainFrm.cpp.

References CFDCButton::Create(), m_btnFDC, m_wndReBar, and NULL.

Referenced by OnCreate().

void CMainFrame::DisplayBanner ( int  iIndex  )  [protected]

BOOL CMainFrame::ReadCusomizationInfo (  )  [protected]

Definition at line 2270 of file MainFrm.cpp.

References FALSE, GetFileSize(), vmsFDMCustomizations::Load(), m_Customizations, NULL, and TRUE.

Referenced by OnCreate().

LRESULT CMainFrame::OnShowTrayMenu ( WPARAM  ,
LPARAM   
) [protected]

Definition at line 2264 of file MainFrm.cpp.

References FALSE, and ShowTrayMenu().

void CMainFrame::LoadToolImages (  )  [protected]

void CMainFrame::Balloon_ShowDLInfo ( BOOL  bCheckSettings = TRUE  )  [protected]

void CMainFrame::ShowBalloon ( LPCSTR  pszInfo,
LPCSTR  pszTitle,
BOOL  bCheckSettings = TRUE,
DWORD  dwIcon = NIIF_INFO 
) [protected]

void CMainFrame::HideBalloon (  )  [protected]

Definition at line 1925 of file MainFrm.cpp.

References _TrayMgr, FALSE, m_bBalloonShowing, and fsTrayIconMgr::ShowBalloon().

Referenced by OnTimer(), and OnTrayMsg().

void CMainFrame::OnIdUpdate (  )  [protected]

Definition at line 1913 of file MainFrm.cpp.

References FALSE, and StartUpdate().

void CMainFrame::RemovePluginMenuView2 (  )  [protected]

Definition at line 1896 of file MainFrm.cpp.

References m_cMenuViewItemsAdded, m_odmenu, and fsODMenu::RemoveMenu().

Referenced by RemovePluginMenuView().

void CMainFrame::AddPluginMenuView ( HMENU  hMenu,
fsSetImage pImages,
int  cImages 
) [protected]

void CMainFrame::OnTBChange ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1766 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

void CMainFrame::OnTBGetButtonInfo ( NMHDR *  nm,
LRESULT *  res 
) [protected]

Definition at line 1761 of file MainFrm.cpp.

References _TBMgr, and CToolBarEx::OnTBGetButtonInfo().

Referenced by OnNotify().

void CMainFrame::OnTBReset ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1755 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

void CMainFrame::OnTBCustHelp ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1749 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

void CMainFrame::OnTBEndDrag ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1731 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

void CMainFrame::OnTBBeginDrag ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1725 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

void CMainFrame::OnTBEndAdjust ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1743 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

void CMainFrame::OnTBBeginAdjust ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1737 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

void CMainFrame::OnTBQueryInsert ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1719 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

void CMainFrame::OnTBQueryDelete ( NMHDR *  ,
LRESULT *  res 
) [protected]

Definition at line 1713 of file MainFrm.cpp.

References FALSE.

Referenced by OnNotify().

LRESULT CMainFrame::WindowProc ( UINT  msg,
WPARAM  wp,
LPARAM  lp 
) [protected, virtual]

void CMainFrame::OnDropBox (  )  [protected]

void CMainFrame::UpdateSettings (  )  [protected]

void CMainFrame::OnImportSettings (  )  [protected]

void CMainFrame::OnExportSettings (  )  [protected]

void CMainFrame::OnSpiderDLWebPage (  )  [protected]

Definition at line 1597 of file MainFrm.cpp.

References CSpiderWnd::OnSpiderDl().

void CMainFrame::OnSpiderDefSettings (  )  [protected]

Definition at line 1592 of file MainFrm.cpp.

References CSpiderWnd::SetupDefSettings().

DWORD WINAPI CMainFrame::_threadUpdate ( LPVOID  lp  )  [static, protected]

void CMainFrame::SetMenuImages (  )  [protected]

void CMainFrame::ApplyLanguageToMenu (  )  [protected]

Definition at line 1440 of file MainFrm.cpp.

References _LngMgr, _pwndUploads, fsODMenu::Attach(), BuildLngMenu(), BuildSkinsMenu(), BuildSwitchToMenu(), fsODMenu::Detach(), FALSE, get_SkinsMenuPos(), fsLangMgr::GetCurLng(), fsLangMgr::GetLngName(), GetTumMenuPosition(), ID_DIAL, ID_DLDDEFOPTIONS, ID_DLDROPTIONS, ID_DLINFOBOX, ID_DROPBOX, ID_EXITWHENDONE, ID_EXPORTDLHIST, ID_EXPORTSETTINGS, ID_FILE_EXPORT_EXPORTLISTOFDOWNLOADS, ID_FILE_IMPORT_IMPORTLISTOFDOWNLOADS, ID_FILE_IMPORT_IMPORTLISTOFDOWNLOADSFROMCLIPBOARD, ID_HANGUPWHENDONE, ID_HOMEPAGE, ID_IMPORTSETTINGS, ID_OPTIONS_SM, ID_OPTMASTER, ID_PORTABLE_FDM, ID_PROGGENERALSETTINGS, ID_RECOMMEND, ID_SKIN_0, ID_SPIDERDEFSETTINGS, ID_SPREADHELP, ID_SUPPORT, ID_TUM_HEAVY, ID_TUM_LIGHT, ID_TUM_MEDIUM, ID_TURNOFFWHENDONE, ID_UPDATE, ID_UPLDROPTIONS, IDR_MAINFRAME, IS_PORTABLE_MODE, L_ABOUT, L_COPY, L_CUT, L_DIAL, L_DLDDEFOPT, L_DLDR_OPTIONS, L_DLSINFO, L_DOCUMENTATION, L_DROPBOX, L_EXIT, L_EXITWHENDONE, L_EXPORT, L_EXPORTDLHIST, L_EXPORTLISTOFDLDS, L_EXPORTSETTINGS, L_FILE, L_HANGUPWD, L_HEAVY, L_HELP, L_HOMEPAGE, L_IMPORT, L_IMPORTLISTOFDLDS, L_IMPORTSETTINGS, L_IMPORTURLSFROMCLIPBOARD, L_LIGHT, L_MAKE_PORTABLE_VER, L_MEDIUM, L_NEWSTYLE, L_OPTIONS, L_OPTIONS_SM, L_OPTMASTER, L_PASTE, L_PLACELINKTOFDM, L_PRGGENSET, L_RECOMMEND, L_SAVEALL, L_SKIN, L_SPIDERDEFSETTINGS, L_STATUSBAR, L_SWITCHTO, L_TOOLBAR, L_TOOLS, L_TOSUPPORT, L_TUM, L_TURNOFFWD, L_UPDATENOW, L_UPLMGRINTEGRSTGS, L_VIEW, LS, m_odmenu, CClientAreaWnd::m_plugs2, CUploadsWnd::m_pwndUploads, CChildView::m_wndClient, m_wndView, NULL, CPluginFrame2::OnNewLng(), fsPluginMgr::OnNewLng(), RemovePluginMenu(), RemovePluginMenuView(), SetMenuImages(), fsODMenu::SetMenuItemsText(), fsODMenu::SetMenuItemText(), and TRUE.

Referenced by ApplyLanguage().

void CMainFrame::ApplyLanguage (  )  [protected]

void CMainFrame::OnLngMenu ( UINT  id  )  [protected]

void CMainFrame::BuildLngMenu (  )  [protected]

void CMainFrame::OnViewStatusbar (  )  [protected]

Definition at line 1344 of file MainFrm.cpp.

References _App, NULL, and fsAppSettings::View_Statusbar().

void CMainFrame::OnViewToolbar (  )  [protected]

Definition at line 1335 of file MainFrm.cpp.

References _App, NULL, and fsAppSettings::View_Toolbar().

void CMainFrame::OnUpdatePluginMenuView ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnUpdateDropBox ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 1687 of file MainFrm.cpp.

References _App, and fsAppSettings::View_FloatingWindow().

void CMainFrame::OnAltPlusDigit ( UINT  nID  )  [protected]

void CMainFrame::OnUpdateSwitchTo ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnSwitchTo ( UINT  nID  )  [protected]

Definition at line 1257 of file MainFrm.cpp.

References ID_SWITCH_TO_START, and SetActivePlugin().

void CMainFrame::BuildSwitchToMenu (  )  [protected]

void CMainFrame::UpdateTitle (  )  [protected]

void CMainFrame::StartUpdate ( BOOL  bShowDlg  )  [protected]

void CMainFrame::_UpdateMgrEvents ( fsUpdateMgrEvent  ev,
UINT puInfo,
LPVOID  lp 
) [static, protected]

Definition at line 1004 of file MainFrm.cpp.

void CMainFrame::SaveSettings (  )  [protected]

void CMainFrame::ReadSettings (  )  [protected]

void CMainFrame::LoadMenuImages (  )  [protected]

LRESULT CMainFrame::OnTrayMsg ( WPARAM  wp,
LPARAM  lp 
) [protected]

int CMainFrame::OnCreate ( LPCREATESTRUCT  lpCreateStruct  )  [protected]

void CMainFrame::OnSetFocus ( CWnd *  pOldWnd  )  [protected]

Definition at line 434 of file MainFrm.cpp.

References m_wndView.

Referenced by CClientAreaWnd::OnSetFocus().

void CMainFrame::OnClose (  )  [protected]

void CMainFrame::OnDlddefoptions (  )  [protected]

Definition at line 524 of file MainFrm.cpp.

References CDownloadsWnd::OnDownloadDefProperties().

void CMainFrame::OnDldroptions (  )  [protected]

Definition at line 529 of file MainFrm.cpp.

References CDownloadsWnd::OnDownloaderProperties().

void CMainFrame::OnTumHeavy (  )  [protected]

void CMainFrame::OnUpdateTumHeavy ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 550 of file MainFrm.cpp.

References CDownloadsWnd::GetTUM(), and TUM_HEAVY.

void CMainFrame::OnTumLight (  )  [protected]

void CMainFrame::OnUpdateTumLight ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 571 of file MainFrm.cpp.

References CDownloadsWnd::GetTUM(), and TUM_LIGHT.

void CMainFrame::OnTumMedium (  )  [protected]

void CMainFrame::OnUpdateTumMedium ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 592 of file MainFrm.cpp.

References CDownloadsWnd::GetTUM(), and TUM_MEDIUM.

void CMainFrame::OnOptmaster (  )  [protected]

Definition at line 597 of file MainFrm.cpp.

References CDownloadsWnd::OnOptimizationWizard().

void CMainFrame::OnDldCreate (  )  [protected]

void CMainFrame::OnTaskCreateNew (  )  [protected]

Definition at line 609 of file MainFrm.cpp.

References CShedulerWnd::OnCreatenewtask().

void CMainFrame::OnNeedExit (  )  [protected]

Definition at line 614 of file MainFrm.cpp.

References FALSE, and m_bQueryForExit.

void CMainFrame::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Definition at line 662 of file MainFrm.cpp.

References _TBMgr, m_bMinToTray, m_btnFDC, m_wndBanner, RecalcLayout(), and TRUE.

void CMainFrame::OnInitMenuPopup ( CMenu *  pPopupMenu,
UINT  nIndex,
BOOL  bSysMenu 
) [protected]

void CMainFrame::OnSaveall (  )  [protected]

void CMainFrame::OnAppExit (  )  [protected]

Definition at line 822 of file MainFrm.cpp.

References OnAppExit2().

void CMainFrame::OnMeasureItem ( int  nIDCtl,
LPMEASUREITEMSTRUCT  lpMeasureItemStruct 
) [protected]

Definition at line 828 of file MainFrm.cpp.

References m_odmenu, and fsODMenu::OnMeasureItem().

void CMainFrame::OnDrawItem ( int  nIDCtl,
LPDRAWITEMSTRUCT  lpDrawItemStruct 
) [protected]

Definition at line 833 of file MainFrm.cpp.

References m_odmenu, and fsODMenu::OnDrawItem().

void CMainFrame::OnShowmainwindow (  )  [protected]

void CMainFrame::OnStartall (  )  [protected]

Definition at line 912 of file MainFrm.cpp.

References _DldsMgr, fsDownloadsMgr::StartAllDownloads(), and TRUE.

void CMainFrame::OnStopall (  )  [protected]

void CMainFrame::OnHelp (  )  [protected]

Definition at line 923 of file MainFrm.cpp.

References HH_DISPLAY_TOC, HtmlHelp, and NULL.

void CMainFrame::OnHomepage (  )  [protected]

Definition at line 928 of file MainFrm.cpp.

References fsOpenUrlInBrowser().

void CMainFrame::OnRecommend (  )  [protected]

Definition at line 933 of file MainFrm.cpp.

References NULL, and ShellExecute.

void CMainFrame::OnSupport (  )  [protected]

Definition at line 938 of file MainFrm.cpp.

References fsOpenUrlInBrowser().

void CMainFrame::OnUpdate (  )  [protected]

void CMainFrame::OnProggeneralsettings (  )  [protected]

void CMainFrame::OnSysCommand ( UINT  nID,
LPARAM  lParam 
) [protected]

Definition at line 979 of file MainFrm.cpp.

References m_bCloseAsMinimize.

void CMainFrame::OnDial (  )  [protected]

void CMainFrame::OnEndSession ( BOOL  bEnding  )  [protected]

Definition at line 1023 of file MainFrm.cpp.

References FALSE, fsPluginMgr::OnAppExit(), and SaveSettings().

void CMainFrame::OnHowregister (  )  [protected]

Definition at line 1031 of file MainFrm.cpp.

References HH_DISPLAY_TOPIC, HtmlHelp, and NULL.

void CMainFrame::OnHangupwhendone (  )  [protected]

Definition at line 1036 of file MainFrm.cpp.

References FALSE, and CShedulerWnd::HangupWhenDone().

void CMainFrame::OnUpdateHangupwhendone ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 1041 of file MainFrm.cpp.

References CShedulerWnd::HangupWhenDone().

void CMainFrame::OnTurnoffwhendone (  )  [protected]

void CMainFrame::OnUpdateTurnoffwhendone ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnEnterkey (  )  [protected]

void CMainFrame::OnBuyonline (  )  [protected]

Definition at line 1105 of file MainFrm.cpp.

References fsOpenBuyPage().

void CMainFrame::OnMonitorbrowser (  )  [protected]

void CMainFrame::OnUpdateMonitorbrowser ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnMonitorclipboard (  )  [protected]

void CMainFrame::OnUpdateMonitorclipboard ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 1232 of file MainFrm.cpp.

References _App, and fsAppSettings::Monitor_Clipboard().

void CMainFrame::OnAddsite (  )  [protected]

Definition at line 1237 of file MainFrm.cpp.

References CSitesWnd::OnSitesAdd().

void CMainFrame::OnViewSwbar (  )  [protected]

Definition at line 1267 of file MainFrm.cpp.

void CMainFrame::OnUpdateViewSwbar ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 1271 of file MainFrm.cpp.

References CClientAreaWnd::m_bShowSWBar, CChildView::m_wndClient, and m_wndView.

void CMainFrame::OnNcRButtonUp ( UINT  nHitTest,
CPoint  point 
) [protected]

Definition at line 1708 of file MainFrm.cpp.

void CMainFrame::OnTimer ( UINT  nIDEvent  )  [protected]

BOOL CMainFrame::OnQueryEndSession (  )  [protected]

Definition at line 1905 of file MainFrm.cpp.

References FALSE, and fsPluginMgr::QueryExit().

void CMainFrame::OnInsert (  )  [protected]

void CMainFrame::OnDlinfobox (  )  [protected]

void CMainFrame::OnDllangfiles (  )  [protected]

Definition at line 2067 of file MainFrm.cpp.

References fsOpenUrlInBrowser().

void CMainFrame::OnFDC (  )  [protected]

void CMainFrame::OnProceedFurherInitialization (  )  [protected]

void CMainFrame::OnAppAbout (  )  [protected]

Definition at line 2160 of file MainFrm.cpp.

References _DldsMgr, and fsDownloadsMgr::IsDeletingNow().

void CMainFrame::OnExportlistofdownloads (  )  [protected]

Definition at line 2167 of file MainFrm.cpp.

References _DlgMgr, and fsDialogsMgr::DoModal().

void CMainFrame::OnImportlistofdownloads (  )  [protected]

void CMainFrame::OnExitwhendone (  )  [protected]

Definition at line 2188 of file MainFrm.cpp.

References CShedulerWnd::ExitWhenDone(), and FALSE.

void CMainFrame::OnUpdateExitwhendone ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 2193 of file MainFrm.cpp.

References CShedulerWnd::ExitWhenDone().

void CMainFrame::OnFind (  )  [protected]

void CMainFrame::OnFindnext (  )  [protected]

void CMainFrame::OnUpdateFindnext ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 2215 of file MainFrm.cpp.

References CDownloadsWnd::IsFindNextAvail().

BOOL CMainFrame::OnEraseBkgnd ( CDC *  pDC  )  [protected]

void CMainFrame::OnDonate (  )  [protected]

Definition at line 2259 of file MainFrm.cpp.

References fsOpenUrlInBrowser().

void CMainFrame::OnDldCreatebatch (  )  [protected]

Definition at line 2338 of file MainFrm.cpp.

References CDownloadsWnd::OnDldcreatebatch().

void CMainFrame::OnFileImportImportlistofdownloadsfromclipboard (  )  [protected]

void CMainFrame::OnOptionsSm (  )  [protected]

Definition at line 2431 of file MainFrm.cpp.

References _DlgMgr, fsDialogsMgr::DoModal(), L_OPTIONS_SM, and LS.

void CMainFrame::OnSpreadhelp (  )  [protected]

void CMainFrame::OnExportdlhist (  )  [protected]

Definition at line 2682 of file MainFrm.cpp.

References _DlgMgr, and fsDialogsMgr::DoModal().

void CMainFrame::OnUpdateExportdlhist ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnUpdateLdf0 ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnLdfClear (  )  [protected]

Definition at line 2765 of file MainFrm.cpp.

References _DldsMgr, and fsDownloadsMgr::LastFilesDownloaded_Clear().

void CMainFrame::OnUpdateLdfClear ( CCmdUI *  pCmdUI  )  [protected]

void CMainFrame::OnPausealldlds (  )  [protected]

void CMainFrame::OnUpdatePausealldlds ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 2781 of file MainFrm.cpp.

References fsInternetDownloader::is_PauseMode().

void CMainFrame::OnUpdateDlinfobox ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 2852 of file MainFrm.cpp.

References _App, and fsAppSettings::View_FloatingInfoWindow().

void CMainFrame::OnAppExit2 (  )  [protected]

Definition at line 2857 of file MainFrm.cpp.

References _DlgMgr, and fsDialogsMgr::EndAllDialogs().

Referenced by OnAppExit().

void CMainFrame::OnPortableFdm (  )  [protected]

Definition at line 2863 of file MainFrm.cpp.

References _DlgMgr, and fsDialogsMgr::DoModal().

void CMainFrame::OnUpldroptions (  )  [protected]

void CMainFrame::OnLoadatstartup (  )  [protected]

void CMainFrame::OnUpdateLoadatstartup ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 2895 of file MainFrm.cpp.

References _AutorunMgr, and fsAutorunMgr::IsAutoStart().


Friends And Related Function Documentation

friend class CFloatingWnd [friend]

Definition at line 35 of file MainFrm.h.

friend class CFdmApp [friend]

Definition at line 36 of file MainFrm.h.

friend class CFloatingInfo_ListCtrlWnd [friend]

Definition at line 37 of file MainFrm.h.


Member Data Documentation

Definition at line 67 of file MainFrm.h.

Referenced by CMainFrame(), and OnProceedFurherInitialization().

Definition at line 84 of file MainFrm.h.

Referenced by LoadMenuImages().

Definition at line 84 of file MainFrm.h.

Referenced by LoadMenuImages().

Definition at line 86 of file MainFrm.h.

Referenced by CPlugToolBar::Initialize(), CPluginFrame2::Initialize(), and LoadToolImages().

Definition at line 86 of file MainFrm.h.

Referenced by CPlugToolBar::Initialize(), CPluginFrame2::Initialize(), and LoadToolImages().

Definition at line 98 of file MainFrm.h.

Referenced by ApplyLanguage(), OnCreate(), and OnUpdateTrafficThisMonth().

BOOL CMainFrame::m_bQueryForExit [protected]

Definition at line 100 of file MainFrm.h.

Referenced by CMainFrame(), OnClose(), and OnNeedExit().

Definition at line 104 of file MainFrm.h.

Referenced by CMainFrame(), and WindowProc().

Definition at line 105 of file MainFrm.h.

Referenced by CMainFrame(), and WindowProc().

Definition at line 115 of file MainFrm.h.

Referenced by ReadTotalTrafficInfo(), and TotalTraffic_CheckMonthChange().

Definition at line 124 of file MainFrm.h.

Referenced by CMainFrame(), OnSpreadhelp(), and ShowSpreadHelpDialogIfRequired().

Definition at line 140 of file MainFrm.h.

Referenced by OnCreate().

Definition at line 143 of file MainFrm.h.

Referenced by CMainFrame(), OnSize(), RecalcLayout(), and SetupButton().

Definition at line 146 of file MainFrm.h.

Referenced by DisplayBanner(), OnCreate(), and OnSize().

CReBar CMainFrame::m_wndReBar [protected]

Definition at line 147 of file MainFrm.h.

Referenced by OnCreate(), RecalcLayout(), and SetupButton().

Definition at line 153 of file MainFrm.h.

Referenced by OnTimer(), OnTrayMsg(), and ShowTimeoutBalloon().

Definition at line 156 of file MainFrm.h.

Referenced by CMainFrame(), ShowBalloon(), and ShowTrayMenu().

Definition at line 160 of file MainFrm.h.

Referenced by CMainFrame(), HideBalloon(), OnTimer(), OnTrayMsg(), and ShowBalloon().

int CMainFrame::m_balloonX [protected]

Definition at line 161 of file MainFrm.h.

Referenced by is_MouseInTray(), and OnTrayMsg().

int CMainFrame::m_balloonY [protected]

Definition at line 161 of file MainFrm.h.

Referenced by is_MouseInTray(), and OnTrayMsg().

UINT CMainFrame::m_umsgTaskBarCreated = 0 [static, protected]

Definition at line 181 of file MainFrm.h.

Referenced by CMainFrame(), OnCreate(), and WindowProc().

Definition at line 212 of file MainFrm.h.

Referenced by AddPluginMenuView(), CMainFrame(), and RemovePluginMenuView().

Definition at line 221 of file MainFrm.h.

Referenced by CMainFrame(), StartUpdate(), and ~CMainFrame().

Definition at line 227 of file MainFrm.h.

Referenced by ShowTrayMenu().

Definition at line 229 of file MainFrm.h.

Referenced by AddPluginMenuView(), and OnUpdatePluginMenuView().

Definition at line 230 of file MainFrm.h.

Referenced by AddPluginMenuView(), and OnUpdatePluginMenuView().

Definition at line 233 of file MainFrm.h.

Referenced by AddPluginMenu(), CMainFrame(), OnInitMenuPopup(), and RemovePluginMenu().

Definition at line 233 of file MainFrm.h.

Referenced by AddPluginMenuView(), CMainFrame(), OnInitMenuPopup(), and RemovePluginMenuView2().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:49 2008 by  doxygen 1.5.6