Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CMainWnd Class Reference

#include <WndMain.h>

List of all members.

Public Member Functions

 CMainWnd ()
virtual ~CMainWnd ()
void SetGUIMode (int nMode, BOOL bSaveState=TRUE)
void CloseToTray ()
void OpenFromTray (int nShowCmd=SW_SHOW)
void UpdateMessages ()
void LocalSystemChecks ()
virtual void OnUpdateFrameTitle (BOOL bAddToTitle)
virtual void GetMessageString (UINT nID, CString &rMessage) const
virtual BOOL OnCmdMsg (UINT nID, int nCode, void *pExtra, AFX_CMDHANDLERINFO *pHandlerInfo)
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual BOOL OnCommand (WPARAM wParam, LPARAM lParam)

Public Attributes

CWindowManager m_pWindows
CCoolMenuBarCtrl m_wndMenuBar
CMainTabBarCtrl m_wndNavBar
CCoolBarCtrl m_wndToolBar
CWndTabBar m_wndTabBar
CStatusBar m_wndStatusBar
CMonitorBarCtrl m_wndMonitorBar
CRemoteWnd m_wndRemoteWnd
CHashProgressBar m_wndHashProgressBar
HINSTANCE m_hInstance
BOOL m_bTrayHide
BOOL m_bTrayIcon
NOTIFYICONDATA m_pTray
BOOL m_bTimer
CString m_sMsgStatus
CSkinWindowm_pSkin
CURLActionDlgm_pURLDialog
DWORD m_tURLTime

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnDestroy ()
afx_msg void OnClose ()
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
afx_msg void OnInitMenuPopup (CMenu *pPopupMenu, UINT nIndex, BOOL bSysMenu)
afx_msg void OnSysColorChange ()
afx_msg void OnTimer (UINT nIDEvent)
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)
afx_msg void OnWindowPosChanging (WINDOWPOS *lpwndpos)
afx_msg void OnSysCommand (UINT nID, LPARAM lParam)
afx_msg void OnNcCalcSize (BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR *lpncsp)
afx_msg UINT OnNcHitTest (CPoint point)
afx_msg void OnNcPaint ()
afx_msg BOOL OnNcActivate (BOOL bActive)
afx_msg void OnNcMouseMove (UINT nHitTest, CPoint point)
afx_msg void OnNcLButtonDown (UINT nHitTest, CPoint point)
afx_msg void OnNcLButtonUp (UINT nHitTest, CPoint point)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnEndSession (BOOL bEnding)
afx_msg LONG OnWinsock (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnHandleURL (UINT wParam, LONG lParam)
afx_msg LONG OnHandleCollection (UINT wParam, LONG lParam)
afx_msg LONG OnVersionCheck (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnOpenChat (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnOpenSearch (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnTray (UINT wParam, LONG lParam)
afx_msg LONG OnLog (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnSkinChanged (UINT wParam, LONG lParam)
afx_msg LONG OnSetMessageString (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnSetText (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnMediaKey (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnDevModeChange (WPARAM wParam, LPARAM lParam)
afx_msg LONG OnDisplayChange (WPARAM wParam, LPARAM lParam)
afx_msg void OnUpdatePluginRange (CCmdUI *pCmdUI)
afx_msg void OnUpdateViewSystem (CCmdUI *pCmdUI)
afx_msg void OnViewSystem ()
afx_msg void OnUpdateViewNeighbours (CCmdUI *pCmdUI)
afx_msg void OnViewNeighbours ()
afx_msg void OnUpdateNetworkConnect (CCmdUI *pCmdUI)
afx_msg void OnNetworkConnect ()
afx_msg void OnUpdateNetworkDisconnect (CCmdUI *pCmdUI)
afx_msg void OnNetworkDisconnect ()
afx_msg void OnUpdateViewPackets (CCmdUI *pCmdUI)
afx_msg void OnViewPackets ()
afx_msg void OnUpdateViewHosts (CCmdUI *pCmdUI)
afx_msg void OnViewHosts ()
afx_msg void OnNetworkConnectTo ()
afx_msg void OnUpdateViewSearchMonitor (CCmdUI *pCmdUI)
afx_msg void OnViewSearchMonitor ()
afx_msg void OnNetworkExit ()
afx_msg void OnUpdateNetworkSearch (CCmdUI *pCmdUI)
afx_msg void OnNetworkSearch ()
afx_msg void OnUpdateViewResultsMonitor (CCmdUI *pCmdUI)
afx_msg void OnViewResultsMonitor ()
afx_msg void OnUpdateNetworkConnectTo (CCmdUI *pCmdUI)
afx_msg void OnUpdateViewDownloads (CCmdUI *pCmdUI)
afx_msg void OnViewDownloads ()
afx_msg void OnUpdateViewLibrary (CCmdUI *pCmdUI)
afx_msg void OnViewLibrary ()
afx_msg void OnUpdateViewUploads (CCmdUI *pCmdUI)
afx_msg void OnViewUploads ()
afx_msg void OnToolsSettings ()
afx_msg void OnHelpAbout ()
afx_msg void OnHelpHomepage ()
afx_msg void OnHelpWeb1 ()
afx_msg void OnHelpWeb2 ()
afx_msg void OnHelpWeb3 ()
afx_msg void OnHelpWeb4 ()
afx_msg void OnHelpWeb5 ()
afx_msg void OnHelpWeb6 ()
afx_msg void OnHelpFaq ()
afx_msg void OnHelpGuide ()
afx_msg void OnHelpForums ()
afx_msg void OnHelpUpdate ()
afx_msg void OnHelpRouter ()
afx_msg void OnHelpSecurity ()
afx_msg void OnHelpCodec ()
afx_msg void OnUpdateViewTraffic (CCmdUI *pCmdUI)
afx_msg void OnViewTraffic ()
afx_msg void OnWindowCascade ()
afx_msg void OnToolsWizard ()
afx_msg void OnTrayOpen ()
afx_msg void OnUpdateNetworkAutoClose (CCmdUI *pCmdUI)
afx_msg void OnNetworkAutoClose ()
afx_msg void OnUpdateToolsDownload (CCmdUI *pCmdUI)
afx_msg void OnToolsDownload ()
afx_msg void OnUpdateViewSecurity (CCmdUI *pCmdUI)
afx_msg void OnViewSecurity ()
afx_msg void OnUpdateWindowCascade (CCmdUI *pCmdUI)
afx_msg void OnUpdateWindowTileHorz (CCmdUI *pCmdUI)
afx_msg void OnUpdateWindowTileVert (CCmdUI *pCmdUI)
afx_msg void OnUpdateTabConnect (CCmdUI *pCmdUI)
afx_msg void OnTabConnect ()
afx_msg void OnUpdateTabNetwork (CCmdUI *pCmdUI)
afx_msg void OnTabNetwork ()
afx_msg void OnUpdateTabLibrary (CCmdUI *pCmdUI)
afx_msg void OnTabLibrary ()
afx_msg void OnUpdateTabTransfers (CCmdUI *pCmdUI)
afx_msg void OnTabTransfers ()
afx_msg void OnUpdateViewTabbed (CCmdUI *pCmdUI)
afx_msg void OnViewTabbed ()
afx_msg void OnUpdateViewWindowed (CCmdUI *pCmdUI)
afx_msg void OnViewWindowed ()
afx_msg void OnUpdateViewDiscovery (CCmdUI *pCmdUI)
afx_msg void OnViewDiscovery ()
afx_msg void OnActivateApp (BOOL bActive, DWORD dwThreadID)
afx_msg void OnActivate (UINT nState, CWnd *pWndOther, BOOL bMinimized)
afx_msg void OnUpdateTabHome (CCmdUI *pCmdUI)
afx_msg void OnTabHome ()
afx_msg void OnToolsReskin ()
afx_msg void OnUpdateWindowTabBar (CCmdUI *pCmdUI)
afx_msg void OnWindowTabBar ()
afx_msg void OnUpdateWindowToolBar (CCmdUI *pCmdUI)
afx_msg void OnWindowToolBar ()
afx_msg void OnUpdateWindowMonitor (CCmdUI *pCmdUI)
afx_msg void OnWindowMonitor ()
afx_msg void OnNetworkBrowseTo ()
afx_msg void OnNcLButtonDblClk (UINT nHitTest, CPoint point)
afx_msg void OnToolsSkin ()
afx_msg void OnGetMinMaxInfo (MINMAXINFO FAR *lpMMI)
afx_msg void OnToolsLanguage ()
afx_msg void OnToolsSeedTorrent ()
afx_msg void OnToolsReseedTorrent ()
afx_msg void OnDiskSpace ()
afx_msg void OnDiskWriteFail ()
afx_msg void OnConnectionFail ()
afx_msg void OnNoDonkeyServers ()
afx_msg void OnUpdateViewMedia (CCmdUI *pCmdUI)
afx_msg void OnViewMedia ()
afx_msg void OnUpdateTabMedia (CCmdUI *pCmdUI)
afx_msg void OnTabMedia ()
afx_msg void OnUpdateTabSearch (CCmdUI *pCmdUI)
afx_msg void OnTabSearch ()
afx_msg void OnToolsProfile ()
afx_msg void OnUpdateViewHelp (CCmdUI *pCmdUI)
afx_msg void OnViewHelp ()
afx_msg void OnUpdateTabHelp (CCmdUI *pCmdUI)
afx_msg void OnTabHelp ()
afx_msg void OnLibraryFolders ()
afx_msg void OnHelpWarnings ()
afx_msg void OnHelpPromote ()
afx_msg void OnUpdateNetworkG2 (CCmdUI *pCmdUI)
afx_msg void OnNetworkG2 ()
afx_msg void OnUpdateNetworkG1 (CCmdUI *pCmdUI)
afx_msg void OnNetworkG1 ()
afx_msg void OnUpdateNetworkED2K (CCmdUI *pCmdUI)
afx_msg void OnNetworkED2K ()
afx_msg void OnUpdateViewBasic (CCmdUI *pCmdUI)
afx_msg void OnViewBasic ()
afx_msg void OnUpdateLibraryHashPriority (CCmdUI *pCmdUI)
afx_msg void OnLibraryHashPriority ()
afx_msg void OnUpdateWindowNavBar (CCmdUI *pCmdUI)
afx_msg void OnWindowNavBar ()
afx_msg void OnUpdateWindowRemote (CCmdUI *pCmdUI)
afx_msg void OnWindowRemote ()
afx_msg void OnRemoteClose ()
afx_msg void OnUpdateMediaCommand (CCmdUI *pCmdUI)
afx_msg void OnMediaCommand ()
CString ObjectToURL (IDataObject *pObject)
BOOL ObjectToFiles (IDataObject *pObject)
BOOL IsTorrentFile () const

Protected Attributes

STDMETHOD( DragEnter )(IDataObject FAR *pDataObj, DWORD grfKeyState, POINTL pt, DWORD FAR *pdwEffect)
STDMETHOD( DragOver )(DWORD grfKeyState, POINTL pt, DWORD FAR *pdwEffect)
STDMETHOD( DragLeave )()
STDMETHOD( Drop )(IDataObject FAR *pDataObj, DWORD grfKeyState, POINTL pt, DWORD FAR *pdwEffect)
CStringList m_pFiles


Constructor & Destructor Documentation

CMainWnd::CMainWnd  ) 
 

Definition at line 270 of file WndMain.cpp.

References IDR_MAINFRAME, CShareazaApp::m_pSafeWnd, NULL, and theApp.

CMainWnd::~CMainWnd  )  [virtual]
 

Definition at line 284 of file WndMain.cpp.

References CShareazaApp::m_pSafeWnd, NULL, and theApp.


Member Function Documentation

void CMainWnd::CloseToTray  ) 
 

Definition at line 829 of file WndMain.cpp.

References m_bTrayHide.

Referenced by OnNetworkAutoClose(), and OnSysCommand().

void CMainWnd::GetMessageString UINT  nID,
CString &  rMessage
const [virtual]
 

Definition at line 1189 of file WndMain.cpp.

References LoadString().

BOOL CMainWnd::IsTorrentFile  )  const [protected]
 

void CMainWnd::LocalSystemChecks  ) 
 

Definition at line 1304 of file WndMain.cpp.

References CSettings::sDownloads::CompletePath, CNetwork::Connect(), CSettings::Connection, CHostCacheList::CountHosts(), CSettings::sConnection::DetectConnectionLoss, CSettings::sConnection::DetectConnectionReset, CNetwork::Disconnect(), CSettings::sGeneral::DiskSpaceStop, CSettings::sLive::DiskSpaceStop, CSettings::sGeneral::DiskSpaceWarning, CSettings::sLive::DiskSpaceWarning, CSettings::sLive::DiskWriteWarning, CSettings::sLive::DonkeyServerWarning, CSettings::Downloads, Downloads, CHostCache::eDonkey, CSettings::eDonkey, CSettings::seDonkey::EnableToday, CSettings::General, HostCache, ID_HELP_CONNECTIONFAIL, ID_HELP_DISKSPACE, ID_HELP_DISKWRITEFAIL, ID_HELP_DONKEYSERVERS, CSettings::sDownloads::IncompletePath, CNetwork::IsAvailable(), CNetwork::IsConnected(), CDownloads::IsSpaceAvailable(), CNetwork::IsWellConnected(), CSettings::Live, CShareazaApp::m_bNT, CTransfers::m_pSection, CShareazaApp::Message(), CSettings::seDonkey::MetAutoQuery, MSG_ERROR, Network, CDownloads::PauseAll(), Settings, theApp, and Transfers.

Referenced by OnTimer().

BOOL CMainWnd::ObjectToFiles IDataObject *  pObject  )  [protected]
 

CString CMainWnd::ObjectToURL IDataObject *  pObject  )  [protected]
 

void CMainWnd::OnActivate UINT  nState,
CWnd *  pWndOther,
BOOL  bMinimized
[protected]
 

Definition at line 790 of file WndMain.cpp.

References CWindowManager::GetActive(), m_pWindows, and NULL.

void CMainWnd::OnActivateApp BOOL  bActive,
DWORD  dwThreadID
[protected]
 

Definition at line 779 of file WndMain.cpp.

void CMainWnd::OnClose  )  [protected]
 

Definition at line 463 of file WndMain.cpp.

References ChatCore, CPlugins::Clear(), CWindowManager::Close(), CFilePreviewDlg::CloseAll(), CDownloadMonitorDlg::CloseAll(), CNetwork::Disconnect(), CRemoteWnd::IsVisible(), Library, CWindowManager::m_bClosing, m_bTrayHide, m_bTrayIcon, CShareazaApp::m_pSafeWnd, m_pTray, m_pWindows, m_wndRemoteWnd, Network, NULL, Plugins, CWindowManager::SaveSearchWindows(), CSettings::SaveWindow(), CWindowManager::SaveWindowStates(), Settings, CChatCore::StopThread(), CLibrary::StopThread(), CTransfers::StopThread(), theApp, and Transfers.

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

Definition at line 582 of file WndMain.cpp.

References CMediaFrame::g_pMediaFrame, m_wndMonitorBar, and NULL.

BOOL CMainWnd::OnCommand WPARAM  wParam,
LPARAM  lParam
[virtual]
 

Definition at line 598 of file WndMain.cpp.

References CWindowManager::GetActive(), m_pWindows, CPlugins::OnCommand(), and Plugins.

void CMainWnd::OnConnectionFail  )  [protected]
 

Definition at line 2106 of file WndMain.cpp.

References CHelpDlg::Show().

void CMainWnd::OnContextMenu CWnd *  pWnd,
CPoint  point
[protected]
 

Definition at line 641 of file WndMain.cpp.

References CSkin::GetMenu(), NULL, OnNcHitTest(), and Skin.

int CMainWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Definition at line 313 of file WndMain.cpp.

References CSettings::sConnection::AutoConnect, CSettings::Connection, CRemoteWnd::Create(), CMonitorBarCtrl::Create(), CWndTabBar::Create(), CMainTabBarCtrl::Create(), CCoolBarCtrl::Create(), CPlugins::Enumerate(), CSettings::General, GUI_WINDOWED, CSettings::sGeneral::GUIMode, ID_HELP_PROMOTE, ID_HELP_WARNINGS, ID_NETWORK_CONNECT, ID_SEPARATOR, ID_TOOLS_WIZARD, IDI_SMALL, IDW_MENU_BAR, IDW_MONITOR_BAR, IDW_NAV_BAR, IDW_TAB_BAR, IDW_TOOL_BAR, CSettings::Live, CSettings::LoadWindow(), CSettings::sLive::LoadWindowState, CShareazaApp::m_bRTL, m_bTimer, m_bTrayHide, m_bTrayIcon, CMonitorBarCtrl::m_pSnapBar, m_pWindows, m_wndMenuBar, m_wndMonitorBar, m_wndNavBar, m_wndRemoteWnd, m_wndStatusBar, m_wndTabBar, m_wndToolBar, NULL, Plugins, CCoolBarCtrl::SetGripper(), SetGUIMode(), CWindowManager::SetOwner(), Settings, and theApp.

void CMainWnd::OnDestroy  )  [protected]
 

Definition at line 499 of file WndMain.cpp.

References CNetwork::Disconnect(), CRemoteWnd::IsVisible(), m_wndRemoteWnd, and Network.

LONG CMainWnd::OnDevModeChange WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 1152 of file WndMain.cpp.

References CWindowManager::Find(), and m_pWindows.

void CMainWnd::OnDiskSpace  )  [protected]
 

Definition at line 2096 of file WndMain.cpp.

References CHelpDlg::Show().

void CMainWnd::OnDiskWriteFail  )  [protected]
 

Definition at line 2101 of file WndMain.cpp.

References CHelpDlg::Show().

LONG CMainWnd::OnDisplayChange WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 1161 of file WndMain.cpp.

References CWindowManager::Find(), and m_pWindows.

void CMainWnd::OnDrawItem int  nIDCtl,
LPDRAWITEMSTRUCT  lpDrawItemStruct
[protected]
 

Definition at line 624 of file WndMain.cpp.

References CoolMenu, and CCoolMenu::OnDrawItem().

void CMainWnd::OnEndSession BOOL  bEnding  )  [protected]
 

Definition at line 510 of file WndMain.cpp.

void CMainWnd::OnGetMinMaxInfo MINMAXINFO FAR *  lpMMI  )  [protected]
 

Definition at line 803 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnGetMinMaxInfo().

afx_msg LONG CMainWnd::OnHandleCollection UINT  wParam,
LONG  lParam
[protected]
 

afx_msg LONG CMainWnd::OnHandleURL UINT  wParam,
LONG  lParam
[protected]
 

void CMainWnd::OnHelpAbout  )  [protected]
 

Definition at line 2272 of file WndMain.cpp.

References CNeighboursWithConnect::IsG1UltrapeerCapable(), CNeighboursWithConnect::IsG2HubCapable(), and Neighbours.

void CMainWnd::OnHelpCodec  )  [protected]
 

Definition at line 2363 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpFaq  )  [protected]
 

Definition at line 2323 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpForums  )  [protected]
 

Definition at line 2337 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpGuide  )  [protected]
 

Definition at line 2330 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpHomepage  )  [protected]
 

Definition at line 2280 of file WndMain.cpp.

References CShareazaApp::m_sVersion, NULL, and theApp.

void CMainWnd::OnHelpPromote  )  [protected]
 

Definition at line 2379 of file WndMain.cpp.

References theApp.

void CMainWnd::OnHelpRouter  )  [protected]
 

Definition at line 2351 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpSecurity  )  [protected]
 

Definition at line 2357 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpUpdate  )  [protected]
 

Definition at line 2344 of file WndMain.cpp.

References CShareazaApp::m_sVersion, NULL, and theApp.

void CMainWnd::OnHelpWarnings  )  [protected]
 

Definition at line 2369 of file WndMain.cpp.

References theApp.

void CMainWnd::OnHelpWeb1  )  [protected]
 

Definition at line 2287 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpWeb2  )  [protected]
 

Definition at line 2293 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpWeb3  )  [protected]
 

Definition at line 2299 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpWeb4  )  [protected]
 

Definition at line 2305 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpWeb5  )  [protected]
 

Definition at line 2311 of file WndMain.cpp.

References NULL.

void CMainWnd::OnHelpWeb6  )  [protected]
 

Definition at line 2317 of file WndMain.cpp.

References NULL.

void CMainWnd::OnInitMenuPopup CMenu *  pPopupMenu,
UINT  nIndex,
BOOL  bSysMenu
[protected]
 

Definition at line 612 of file WndMain.cpp.

References CCoolMenu::AddMenu(), and CoolMenu.

void CMainWnd::OnLibraryFolders  )  [protected]
 

Definition at line 2122 of file WndMain.cpp.

void CMainWnd::OnLibraryHashPriority  )  [protected]
 

Definition at line 2154 of file WndMain.cpp.

References CLibraryBuilder::BoostPriority(), CLibraryBuilder::GetBoostPriority(), and LibraryBuilder.

LONG CMainWnd::OnLog WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 813 of file WndMain.cpp.

References CWindowManager::Find(), and m_pWindows.

void CMainWnd::OnMeasureItem int  nIDCtl,
LPMEASUREITEMSTRUCT  lpMeasureItemStruct
[protected]
 

Definition at line 619 of file WndMain.cpp.

References CoolMenu, and CCoolMenu::OnMeasureItem().

void CMainWnd::OnMediaCommand  )  [protected]
 

Definition at line 2262 of file WndMain.cpp.

References CMediaFrame::g_pMediaFrame, NULL, and OnTabMedia().

LONG CMainWnd::OnMediaKey WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 1143 of file WndMain.cpp.

References CWindowManager::Find(), and m_pWindows.

BOOL CMainWnd::OnNcActivate BOOL  bActive  )  [protected]
 

Definition at line 2422 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnNcActivate().

void CMainWnd::OnNcCalcSize BOOL  bCalcValidRects,
NCCALCSIZE_PARAMS FAR *  lpncsp
[protected]
 

Definition at line 2398 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnNcCalcSize().

UINT CMainWnd::OnNcHitTest CPoint  point  )  [protected]
 

Definition at line 2406 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnNcHitTest().

Referenced by OnContextMenu().

void CMainWnd::OnNcLButtonDblClk UINT  nHitTest,
CPoint  point
[protected]
 

Definition at line 2453 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnNcLButtonDblClk().

void CMainWnd::OnNcLButtonDown UINT  nHitTest,
CPoint  point
[protected]
 

Definition at line 2441 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnNcLButtonDown().

void CMainWnd::OnNcLButtonUp UINT  nHitTest,
CPoint  point
[protected]
 

Definition at line 2447 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnNcLButtonUp().

void CMainWnd::OnNcMouseMove UINT  nHitTest,
CPoint  point
[protected]
 

Definition at line 2435 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnNcMouseMove().

void CMainWnd::OnNcPaint  )  [protected]
 

Definition at line 2414 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnNcPaint().

void CMainWnd::OnNetworkAutoClose  )  [protected]
 

Definition at line 1584 of file WndMain.cpp.

References CSettings::sLive::AutoClose, CloseToTray(), CNetwork::Disconnect(), CTransfers::GetActiveCount(), CSettings::Live, m_bTrayHide, Network, Settings, and Transfers.

Referenced by OnSysCommand().

void CMainWnd::OnNetworkBrowseTo  )  [protected]
 

Definition at line 1503 of file WndMain.cpp.

References CConnectToDlg::m_nPort, CConnectToDlg::m_sHost, Network, NULL, and CNetwork::Resolve().

void CMainWnd::OnNetworkConnect  )  [protected]
 

Definition at line 1476 of file WndMain.cpp.

References CNetwork::Connect(), and Network.

void CMainWnd::OnNetworkConnectTo  )  [protected]
 

Definition at line 1496 of file WndMain.cpp.

References CNetwork::ConnectTo(), CConnectToDlg::m_bNoUltraPeer, CConnectToDlg::m_nPort, CConnectToDlg::m_nProtocol, CConnectToDlg::m_sHost, and Network.

void CMainWnd::OnNetworkDisconnect  )  [protected]
 

Definition at line 1486 of file WndMain.cpp.

References CNetwork::Disconnect(), and Network.

void CMainWnd::OnNetworkED2K  )  [protected]
 

Definition at line 1565 of file WndMain.cpp.

References CNetwork::Connect(), CSettings::eDonkey, CSettings::seDonkey::EnableToday, CNetwork::IsConnected(), Network, and Settings.

void CMainWnd::OnNetworkExit  )  [protected]
 

Definition at line 1606 of file WndMain.cpp.

void CMainWnd::OnNetworkG1  )  [protected]
 

Definition at line 1546 of file WndMain.cpp.

References CNetwork::Connect(), CSettings::sGnutella1::EnableToday, CSettings::Gnutella1, CNetwork::IsConnected(), Network, and Settings.

void CMainWnd::OnNetworkG2  )  [protected]
 

Definition at line 1521 of file WndMain.cpp.

References CNetwork::Connect(), CSettings::sGnutella2::EnableToday, CSettings::Gnutella2, IDS_NETWORK_DISABLE_G2, CNetwork::IsConnected(), LoadString(), Network, and Settings.

void CMainWnd::OnNetworkSearch  )  [protected]
 

Definition at line 1431 of file WndMain.cpp.

References CNetwork::Connect(), CNewSearchDlg::GetSearch(), CNetwork::IsWellConnected(), m_bTrayHide, m_pWindows, Network, OpenFromTray(), CWindowManager::OpenNewSearchWindow(), CSettings::Search, CSettings::sSearch::SearchPanel, and Settings.

void CMainWnd::OnNoDonkeyServers  )  [protected]
 

Definition at line 2111 of file WndMain.cpp.

References CHelpDlg::Show().

LONG CMainWnd::OnOpenChat WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 1128 of file WndMain.cpp.

References ChatCore, CChatCore::Check(), CChatCore::m_pSection, and CChatSession::OnOpenWindow().

LONG CMainWnd::OnOpenSearch WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 1136 of file WndMain.cpp.

References NULL, and CQuerySearch::OpenWindow().

void CMainWnd::OnRemoteClose  )  [protected]
 

Definition at line 2249 of file WndMain.cpp.

References CRemoteWnd::IsVisible(), and m_wndRemoteWnd.

LONG CMainWnd::OnSetMessageString WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 1173 of file WndMain.cpp.

References m_sMsgStatus, and m_wndStatusBar.

LONG CMainWnd::OnSetText WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 2459 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnSetText().

void CMainWnd::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

Definition at line 2392 of file WndMain.cpp.

References m_pSkin, and CSkinWindow::OnSize().

LONG CMainWnd::OnSkinChanged UINT  wParam,
LONG  lParam
[protected]
 

Definition at line 970 of file WndMain.cpp.

References CSkin::Apply(), CCoolBarCtrl::Clear(), CoolInterface, CSkin::CreateToolBar(), CSkin::GetMenu(), CSkin::GetWatermark(), CSkin::GetWindowSkin(), CCoolInterface::m_crMidtone, m_pSkin, m_pWindows, m_wndMenuBar, m_wndMonitorBar, m_wndNavBar, m_wndRemoteWnd, m_wndTabBar, m_wndToolBar, NULL, CSkinWindow::OnSize(), CRemoteWnd::OnSkinChange(), CMonitorBarCtrl::OnSkinChange(), CMainTabBarCtrl::OnSkinChange(), CFilePreviewDlg::OnSkinChange(), CSettingsManagerDlg::OnSkinChange(), CDownloadMonitorDlg::OnSkinChange(), CWndTabBar::OnUpdateCmdUI(), CCoolBarCtrl::OnUpdated(), CWindowManager::PostSkinChange(), CWindowManager::PostSkinRemove(), CCoolMenuBarCtrl::SetMenu(), CWndTabBar::SetWatermark(), CCoolBarCtrl::SetWatermark(), Skin, and UpdateMessages().

Referenced by OnToolsLanguage(), OnToolsReskin(), and SetGUIMode().

void CMainWnd::OnSysColorChange  )  [protected]
 

Definition at line 629 of file WndMain.cpp.

References CoolInterface, and CCoolInterface::OnSysColourChange().

void CMainWnd::OnSysCommand UINT  nID,
LPARAM  lParam
[protected]
 

Definition at line 900 of file WndMain.cpp.

References CSettings::sLive::AutoClose, CSettings::sGeneral::CloseMode, CloseToTray(), CSettings::General, CSettings::Live, m_bTrayHide, m_wndMenuBar, OnNetworkAutoClose(), OpenFromTray(), CCoolMenuBarCtrl::OpenMenuBar(), CCoolMenuBarCtrl::OpenMenuChar(), Settings, and CSettings::sGeneral::TrayMinimise.

void CMainWnd::OnTabConnect  )  [protected]
 

Definition at line 1880 of file WndMain.cpp.

References CNetwork::Connect(), CNetwork::Disconnect(), CWindowManager::GetActive(), IDS_NETWORK_DISCONNECT_CONFIRM, CNetwork::IsConnected(), CNetwork::IsWellConnected(), LoadString(), m_pWindows, Network, and CWindowManager::Open().

void CMainWnd::OnTabHelp  )  [protected]
 

Definition at line 2021 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnTabHome  )  [protected]
 

Definition at line 1913 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnTabLibrary  )  [protected]
 

Definition at line 1925 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnTabMedia  )  [protected]
 

Definition at line 1949 of file WndMain.cpp.

References CShareazaApp::m_bMenuWasVisible, m_pWindows, CWindowManager::Open(), OpenFromTray(), and theApp.

Referenced by OnMediaCommand().

void CMainWnd::OnTabNetwork  )  [protected]
 

Definition at line 2009 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnTabSearch  )  [protected]
 

Definition at line 1963 of file WndMain.cpp.

References CSettings::General, GUI_WINDOWED, CSettings::sGeneral::GUIMode, ID_NETWORK_SEARCH, m_pWindows, OpenFromTray(), CWindowManager::OpenNewSearchWindow(), and Settings.

void CMainWnd::OnTabTransfers  )  [protected]
 

Definition at line 1990 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnTimer UINT  nIDEvent  )  [protected]
 

Definition at line 704 of file WndMain.cpp.

References CSettings::sGeneral::CloseMode, CoolInterface, CSettings::sScheduler::Enable, CSettings::General, CWindowManager::GetIterator(), CWindowManager::GetNext(), IDI_ICON, IDI_SMALL, CCoolInterface::IsNewWindows(), CSettings::Live, CSettings::sLive::LoadWindowState, LocalSystemChecks(), m_bTimer, m_bTrayHide, m_bTrayIcon, m_hInstance, m_pTray, m_pWindows, m_wndHashProgressBar, m_wndMenuBar, CHashProgressBar::Run(), Schedule, CSettings::Scheduler, Settings, Statistics, CSettings::sGeneral::TrayMinimise, CScheduler::Update(), CStatistics::Update(), UpdateMessages(), and WM_TRAY.

void CMainWnd::OnToolsDownload  )  [protected]
 

Definition at line 2035 of file WndMain.cpp.

References CDownloads::Add(), CNetwork::Connect(), Downloads, CDownloadDlg::GetURL(), CNetwork::IsWellConnected(), CShareazaURL::m_nAction, CDownloadDlg::m_pURL, m_pWindows, Network, CWindowManager::Open(), CShareazaURL::uriDownload, CShareazaURL::uriSource, and WM_URL.

void CMainWnd::OnToolsLanguage  )  [protected]
 

Definition at line 2063 of file WndMain.cpp.

References CSettings::General, CSettings::sGeneral::GUIMode, OnSkinChanged(), SetGUIMode(), Settings, and theApp.

void CMainWnd::OnToolsProfile  )  [protected]
 

Definition at line 2116 of file WndMain.cpp.

References CProfileManagerDlg::DoModal().

void CMainWnd::OnToolsReseedTorrent  )  [protected]
 

Definition at line 2090 of file WndMain.cpp.

References CLibraryHistory::LastSeededTorrent, and LibraryHistory.

void CMainWnd::OnToolsReskin  )  [protected]
 

Definition at line 2141 of file WndMain.cpp.

References OnSkinChanged().

void CMainWnd::OnToolsSeedTorrent  )  [protected]
 

Definition at line 2079 of file WndMain.cpp.

References CSettings::Downloads, Settings, and CSettings::sDownloads::TorrentPath.

void CMainWnd::OnToolsSettings  )  [protected]
 

Definition at line 2135 of file WndMain.cpp.

References CSettingsManagerDlg::Run().

void CMainWnd::OnToolsSkin  )  [protected]
 

Definition at line 2057 of file WndMain.cpp.

References CSettingsManagerDlg::Run().

void CMainWnd::OnToolsWizard  )  [protected]
 

Definition at line 2128 of file WndMain.cpp.

References CWizardSheet::RunWizard(), and theApp.

LONG CMainWnd::OnTray UINT  wParam,
LONG  lParam
[protected]
 

Definition at line 847 of file WndMain.cpp.

References CSkin::GetMenu(), ID_TRAY_OPEN, NULL, OpenFromTray(), and Skin.

void CMainWnd::OnTrayOpen  )  [protected]
 

Definition at line 895 of file WndMain.cpp.

References OpenFromTray().

void CMainWnd::OnUpdateFrameTitle BOOL  bAddToTitle  )  [virtual]
 

Definition at line 635 of file WndMain.cpp.

References m_wndNavBar, m_wndTabBar, CMainTabBarCtrl::OnUpdateCmdUI(), and CWndTabBar::OnUpdateCmdUI().

Referenced by CChildWnd::SetAlert().

void CMainWnd::OnUpdateLibraryHashPriority CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2149 of file WndMain.cpp.

References CLibraryBuilder::GetBoostPriority(), and LibraryBuilder.

void CMainWnd::OnUpdateMediaCommand CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2254 of file WndMain.cpp.

References CMediaFrame::g_pMediaFrame, and NULL.

void CMainWnd::OnUpdateNetworkAutoClose CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1578 of file WndMain.cpp.

References CSettings::sLive::AutoClose, CTransfers::GetActiveCount(), CSettings::Live, Settings, and Transfers.

void CMainWnd::OnUpdateNetworkConnect CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1449 of file WndMain.cpp.

References IDS_NETWORK_CONNECT, IDS_NETWORK_CONNECTED, IDS_NETWORK_CONNECTING, CNetwork::IsConnected(), CNetwork::IsWellConnected(), LoadString(), and Network.

void CMainWnd::OnUpdateNetworkConnectTo CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1491 of file WndMain.cpp.

void CMainWnd::OnUpdateNetworkDisconnect CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1481 of file WndMain.cpp.

References CNetwork::IsConnected(), and Network.

void CMainWnd::OnUpdateNetworkED2K CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1559 of file WndMain.cpp.

References CSettings::eDonkey, CSettings::seDonkey::EnableToday, CSettings::GetOutgoingBandwidth(), and Settings.

void CMainWnd::OnUpdateNetworkG1 CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1540 of file WndMain.cpp.

References CSettings::sGnutella1::EnableToday, CSettings::GetOutgoingBandwidth(), CSettings::Gnutella1, and Settings.

void CMainWnd::OnUpdateNetworkG2 CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1516 of file WndMain.cpp.

References CSettings::sGnutella2::EnableToday, CSettings::Gnutella2, and Settings.

void CMainWnd::OnUpdateNetworkSearch CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1426 of file WndMain.cpp.

void CMainWnd::OnUpdatePluginRange CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 604 of file WndMain.cpp.

References CWindowManager::GetActive(), m_pWindows, CPlugins::OnUpdate(), and Plugins.

void CMainWnd::OnUpdateTabConnect CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1837 of file WndMain.cpp.

References CoolInterface, CCoolBarCtrl::GetID(), ID_NETWORK_CONNECT, ID_NETWORK_DISCONNECT, ID_TAB_CONNECT, IDS_NETWORK_CONNECT, IDS_NETWORK_CONNECTING, IDS_NETWORK_DISCONNECT, IDS_TABBAR_CONNECTED, IDS_TABBAR_NOT_CONNECTED, CNetwork::IsConnected(), CNetwork::IsWellConnected(), LoadString(), CCoolInterface::m_crCmdText, m_wndTabBar, m_wndToolBar, Network, CWndTabBar::SetMessage(), CCoolBarItem::SetText(), and CCoolBarItem::SetTip().

void CMainWnd::OnUpdateTabHelp CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2015 of file WndMain.cpp.

References CWindowManager::GetActive(), and m_pWindows.

void CMainWnd::OnUpdateTabHome CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1907 of file WndMain.cpp.

References CWindowManager::GetActive(), and m_pWindows.

void CMainWnd::OnUpdateTabLibrary CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1919 of file WndMain.cpp.

References CWindowManager::GetActive(), and m_pWindows.

void CMainWnd::OnUpdateTabMedia CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1931 of file WndMain.cpp.

References CoolInterface, CWindowManager::Find(), CWindowManager::GetActive(), CCoolBarCtrl::GetID(), ID_TAB_MEDIA, CMediaWnd::IsPlaying(), CCoolInterface::m_crCmdText, m_pWindows, and m_wndToolBar.

void CMainWnd::OnUpdateTabNetwork CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1996 of file WndMain.cpp.

References CWindowManager::Check(), CWindowManager::GetActive(), CChildWnd::m_pGroupParent, m_pWindows, and NULL.

void CMainWnd::OnUpdateTabSearch CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1956 of file WndMain.cpp.

References CWindowManager::GetActive(), and m_pWindows.

void CMainWnd::OnUpdateTabTransfers CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1977 of file WndMain.cpp.

References CWindowManager::Check(), CWindowManager::GetActive(), CChildWnd::m_pGroupParent, m_pWindows, and NULL.

void CMainWnd::OnUpdateToolsDownload CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2030 of file WndMain.cpp.

void CMainWnd::OnUpdateViewBasic CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1614 of file WndMain.cpp.

References CSettings::General, GUI_BASIC, CSettings::sGeneral::GUIMode, and Settings.

void CMainWnd::OnUpdateViewDiscovery CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1761 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewDownloads CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1699 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewHelp CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1823 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewHosts CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1750 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewLibrary CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1721 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewMedia CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1732 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewNeighbours CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1670 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewPackets CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1772 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewResultsMonitor CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1801 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewSearchMonitor CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1790 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewSecurity CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1812 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewSystem CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1659 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewTabbed CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1629 of file WndMain.cpp.

References CSettings::General, GUI_TABBED, CSettings::sGeneral::GUIMode, and Settings.

void CMainWnd::OnUpdateViewTraffic CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1681 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewUploads CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1710 of file WndMain.cpp.

References CWindowManager::Find(), m_pWindows, and NULL.

void CMainWnd::OnUpdateViewWindowed CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 1644 of file WndMain.cpp.

References CSettings::General, GUI_WINDOWED, CSettings::sGeneral::GUIMode, and Settings.

void CMainWnd::OnUpdateWindowCascade CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2162 of file WndMain.cpp.

void CMainWnd::OnUpdateWindowMonitor CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2226 of file WndMain.cpp.

References m_wndMonitorBar.

void CMainWnd::OnUpdateWindowNavBar CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2182 of file WndMain.cpp.

References m_wndNavBar.

void CMainWnd::OnUpdateWindowRemote CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2236 of file WndMain.cpp.

References CRemoteWnd::IsVisible(), and m_wndRemoteWnd.

void CMainWnd::OnUpdateWindowTabBar CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2216 of file WndMain.cpp.

References m_wndTabBar.

void CMainWnd::OnUpdateWindowTileHorz CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2172 of file WndMain.cpp.

References CSettings::General, GUI_WINDOWED, CSettings::sGeneral::GUIMode, and Settings.

void CMainWnd::OnUpdateWindowTileVert CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2177 of file WndMain.cpp.

References CSettings::General, GUI_WINDOWED, CSettings::sGeneral::GUIMode, and Settings.

void CMainWnd::OnUpdateWindowToolBar CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 2199 of file WndMain.cpp.

References m_wndToolBar.

LONG CMainWnd::OnVersionCheck WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 1097 of file WndMain.cpp.

References IDS_UPGRADE_LAUNCH, LoadString(), CVersionChecker::m_bUpgrade, CVersionChecker::m_sMessage, CVersionChecker::m_sUpgradeFile, CVersionChecker::m_sUpgradePath, NULL, and VersionChecker.

void CMainWnd::OnViewBasic  )  [protected]
 

Definition at line 1619 of file WndMain.cpp.

References CSettings::General, GUI_BASIC, CSettings::sGeneral::GUIMode, IDS_VIEW_MODE_CONFIRM, LoadString(), SetGUIMode(), and Settings.

void CMainWnd::OnViewDiscovery  )  [protected]
 

Definition at line 1766 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewDownloads  )  [protected]
 

Definition at line 1704 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewHelp  )  [protected]
 

Definition at line 1828 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewHosts  )  [protected]
 

Definition at line 1755 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewLibrary  )  [protected]
 

Definition at line 1726 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewMedia  )  [protected]
 

Definition at line 1737 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewNeighbours  )  [protected]
 

Definition at line 1675 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewPackets  )  [protected]
 

Definition at line 1777 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewResultsMonitor  )  [protected]
 

Definition at line 1806 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewSearchMonitor  )  [protected]
 

Definition at line 1795 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewSecurity  )  [protected]
 

Definition at line 1817 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewSystem  )  [protected]
 

Definition at line 1664 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewTabbed  )  [protected]
 

Definition at line 1634 of file WndMain.cpp.

References CSettings::General, GUI_TABBED, CSettings::sGeneral::GUIMode, IDS_VIEW_MODE_CONFIRM, LoadString(), SetGUIMode(), and Settings.

void CMainWnd::OnViewTraffic  )  [protected]
 

Definition at line 1686 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewUploads  )  [protected]
 

Definition at line 1715 of file WndMain.cpp.

References m_pWindows, CWindowManager::Open(), and OpenFromTray().

void CMainWnd::OnViewWindowed  )  [protected]
 

Definition at line 1649 of file WndMain.cpp.

References CSettings::General, GUI_WINDOWED, CSettings::sGeneral::GUIMode, IDS_VIEW_MODE_CONFIRM, LoadString(), SetGUIMode(), and Settings.

void CMainWnd::OnWindowCascade  )  [protected]
 

Definition at line 2167 of file WndMain.cpp.

References CWindowManager::Cascade(), and m_pWindows.

void CMainWnd::OnWindowMonitor  )  [protected]
 

Definition at line 2231 of file WndMain.cpp.

References m_wndMonitorBar.

void CMainWnd::OnWindowNavBar  )  [protected]
 

Definition at line 2187 of file WndMain.cpp.

References IDS_TABBAR_NOT_CONNECTED, CNetwork::IsConnected(), m_wndNavBar, m_wndTabBar, m_wndToolBar, Network, and CWndTabBar::SetMessage().

void CMainWnd::OnWindowPosChanging WINDOWPOS *  lpwndpos  )  [protected]
 

Definition at line 653 of file WndMain.cpp.

References NULL, SNAP_SIZE, and theApp.

void CMainWnd::OnWindowRemote  )  [protected]
 

Definition at line 2241 of file WndMain.cpp.

References CRemoteWnd::Create(), CRemoteWnd::IsVisible(), m_wndMonitorBar, and m_wndRemoteWnd.

void CMainWnd::OnWindowTabBar  )  [protected]
 

Definition at line 2221 of file WndMain.cpp.

References m_wndTabBar.

void CMainWnd::OnWindowToolBar  )  [protected]
 

Definition at line 2204 of file WndMain.cpp.

References IDS_TABBAR_NOT_CONNECTED, CNetwork::IsConnected(), m_wndNavBar, m_wndTabBar, m_wndToolBar, Network, and CWndTabBar::SetMessage().

LONG CMainWnd::OnWinsock WPARAM  wParam,
LPARAM  lParam
[protected]
 

Definition at line 1046 of file WndMain.cpp.

References Network, and CNetwork::OnWinsock().

void CMainWnd::OpenFromTray int  nShowCmd = SW_SHOW  ) 
 

Definition at line 838 of file WndMain.cpp.

References m_bTrayHide.

Referenced by OnNetworkSearch(), OnSysCommand(), OnTabHelp(), OnTabHome(), OnTabLibrary(), OnTabMedia(), OnTabNetwork(), OnTabSearch(), OnTabTransfers(), OnTray(), OnTrayOpen(), OnViewDiscovery(), OnViewDownloads(), OnViewHelp(), OnViewHosts(), OnViewLibrary(), OnViewMedia(), OnViewNeighbours(), OnViewPackets(), OnViewResultsMonitor(), OnViewSearchMonitor(), OnViewSecurity(), OnViewSystem(), OnViewTraffic(), and OnViewUploads().

BOOL CMainWnd::PreCreateWindow CREATESTRUCT &  cs  )  [virtual]
 

Definition at line 292 of file WndMain.cpp.

References IDR_MAINFRAME, NULL, and theApp.

void CMainWnd::SetGUIMode int  nMode,
BOOL  bSaveState = TRUE
 

Definition at line 519 of file WndMain.cpp.

References CSettings::General, GUI_WINDOWED, CSettings::sGeneral::GUIMode, CMainTabBarCtrl::HasLocalVersion(), m_pWindows, m_wndMenuBar, m_wndMonitorBar, m_wndNavBar, m_wndTabBar, m_wndToolBar, OnSkinChanged(), CWindowManager::SetGUIMode(), CWndTabBar::SetMaximumWidth(), CWndTabBar::SetMessage(), and Settings.

Referenced by OnCreate(), OnToolsLanguage(), OnViewBasic(), OnViewTabbed(), OnViewWindowed(), and CWizardInterfacePage::OnWizardNext().

void CMainWnd::UpdateMessages  ) 
 

Definition at line 1198 of file WndMain.cpp.

References _tcsistr(), CSettings::sLive::AutoClose, CSettings::General, CLibraryMaps::GetStatistics(), CGraphItem::GetValue(), GRC_DOWNLOADS_TRANSFERS, GRC_GNUTELLA_CONNECTIONS, GRC_TOTAL_BANDWIDTH_IN, GRC_TOTAL_BANDWIDTH_OUT, GRC_UPLOADS_TRANSFERS, GUI_BASIC, CSettings::sGeneral::GUIMode, IDR_MAINFRAME, IDS_CLOSING_AFTER, IDS_STATUS_BAR_BANDWIDTH, IDS_STATUS_BAR_CONNECTED, IDS_STATUS_BAR_CONNECTED_HUB, IDS_STATUS_BAR_CONNECTED_HUB_UP, IDS_STATUS_BAR_CONNECTED_SIMPLE, IDS_STATUS_BAR_CONNECTED_UP, IDS_STATUS_BAR_CONNECTING, IDS_STATUS_BAR_DISCONNECTED, IDS_TRAY_TIP, CNetwork::IsConnected(), CNeighboursWithConnect::IsG1Ultrapeer(), CNeighboursWithConnect::IsG2Hub(), CNetwork::IsWellConnected(), LibraryMaps, CSettings::Live, LoadString(), m_bTrayIcon, m_pTray, m_sMsgStatus, CVersionChecker::m_sQuote, m_wndStatusBar, Neighbours, Network, NULL, Settings, CSettings::SmartVolume(), and VersionChecker.

Referenced by OnSkinChanged(), and OnTimer().


Member Data Documentation

STDMETHOD( CMainWnd::DragEnter)(IDataObject FAR *pDataObj, DWORD grfKeyState, POINTL pt, DWORD FAR *pdwEffect) [protected]
 

STDMETHOD( CMainWnd::DragLeave)() [protected]
 

STDMETHOD( CMainWnd::DragOver)(DWORD grfKeyState, POINTL pt, DWORD FAR *pdwEffect) [protected]
 

STDMETHOD( CMainWnd::Drop)(IDataObject FAR *pDataObj, DWORD grfKeyState, POINTL pt, DWORD FAR *pdwEffect) [protected]
 

BOOL CMainWnd::m_bTimer
 

Definition at line 62 of file WndMain.h.

Referenced by OnCreate(), and OnTimer().

BOOL CMainWnd::m_bTrayHide
 

Definition at line 59 of file WndMain.h.

Referenced by CloseToTray(), OnClose(), OnCreate(), OnNetworkAutoClose(), OnNetworkSearch(), OnSysCommand(), OnTimer(), and OpenFromTray().

BOOL CMainWnd::m_bTrayIcon
 

Definition at line 60 of file WndMain.h.

Referenced by OnClose(), OnCreate(), OnTimer(), and UpdateMessages().

HINSTANCE CMainWnd::m_hInstance
 

Definition at line 58 of file WndMain.h.

Referenced by OnTimer().

CStringList CMainWnd::m_pFiles [protected]
 

Definition at line 259 of file WndMain.h.

CSkinWindow* CMainWnd::m_pSkin
 

Definition at line 64 of file WndMain.h.

Referenced by OnGetMinMaxInfo(), OnNcActivate(), OnNcCalcSize(), OnNcHitTest(), OnNcLButtonDblClk(), OnNcLButtonDown(), OnNcLButtonUp(), OnNcMouseMove(), OnNcPaint(), OnSetText(), OnSize(), and OnSkinChanged().

NOTIFYICONDATA CMainWnd::m_pTray
 

Definition at line 61 of file WndMain.h.

Referenced by OnClose(), OnTimer(), and UpdateMessages().

CURLActionDlg* CMainWnd::m_pURLDialog
 

Definition at line 65 of file WndMain.h.

CWindowManager CMainWnd::m_pWindows
 

Definition at line 48 of file WndMain.h.

Referenced by CFileExecutor::GetLibraryWindow(), CFileExecutor::GetMediaWindow(), CShareazaApp::InternalURI(), OnActivate(), CMetaPanel::OnClick(), OnClose(), OnCommand(), CDownloadMonitorDlg::OnContextMenu(), OnCreate(), OnDevModeChange(), OnDisplayChange(), CTorrentSeedDlg::OnDownload(), OnLog(), OnMediaKey(), OnNetworkSearch(), CUpgradeDlg::OnOK(), OnSkinChanged(), OnTabConnect(), OnTabHelp(), OnTabHome(), OnTabLibrary(), OnTabMedia(), OnTabNetwork(), OnTabSearch(), OnTabTransfers(), OnTimer(), OnToolsDownload(), CWndTabBar::OnUpdateCmdUI(), OnUpdatePluginRange(), OnUpdateTabHelp(), OnUpdateTabHome(), OnUpdateTabLibrary(), OnUpdateTabMedia(), OnUpdateTabNetwork(), OnUpdateTabSearch(), OnUpdateTabTransfers(), OnUpdateViewDiscovery(), OnUpdateViewDownloads(), OnUpdateViewHelp(), OnUpdateViewHosts(), OnUpdateViewLibrary(), OnUpdateViewMedia(), OnUpdateViewNeighbours(), OnUpdateViewPackets(), OnUpdateViewResultsMonitor(), OnUpdateViewSearchMonitor(), OnUpdateViewSecurity(), OnUpdateViewSystem(), OnUpdateViewTraffic(), OnUpdateViewUploads(), CURLActionDlg::OnUrlDownload(), OnViewDiscovery(), OnViewDownloads(), OnViewHelp(), OnViewHosts(), OnViewLibrary(), OnViewMedia(), OnViewNeighbours(), OnViewPackets(), OnViewResultsMonitor(), OnViewSearchMonitor(), OnViewSecurity(), OnViewSystem(), OnViewTraffic(), OnViewUploads(), OnWindowCascade(), CRemote::PageSearch(), and SetGUIMode().

CString CMainWnd::m_sMsgStatus
 

Definition at line 63 of file WndMain.h.

Referenced by OnSetMessageString(), and UpdateMessages().

DWORD CMainWnd::m_tURLTime
 

Definition at line 66 of file WndMain.h.

CHashProgressBar CMainWnd::m_wndHashProgressBar
 

Definition at line 56 of file WndMain.h.

Referenced by OnTimer().

CCoolMenuBarCtrl CMainWnd::m_wndMenuBar
 

Definition at line 49 of file WndMain.h.

Referenced by OnCreate(), OnSkinChanged(), OnSysCommand(), OnTimer(), and SetGUIMode().

CMonitorBarCtrl CMainWnd::m_wndMonitorBar
 

Definition at line 54 of file WndMain.h.

Referenced by OnCmdMsg(), OnCreate(), OnSkinChanged(), OnUpdateWindowMonitor(), OnWindowMonitor(), OnWindowRemote(), and SetGUIMode().

CMainTabBarCtrl CMainWnd::m_wndNavBar
 

Definition at line 50 of file WndMain.h.

Referenced by OnCreate(), OnSkinChanged(), OnUpdateFrameTitle(), OnUpdateWindowNavBar(), OnWindowNavBar(), OnWindowToolBar(), and SetGUIMode().

CRemoteWnd CMainWnd::m_wndRemoteWnd
 

Definition at line 55 of file WndMain.h.

Referenced by OnClose(), OnCreate(), OnDestroy(), OnRemoteClose(), OnSkinChanged(), OnUpdateWindowRemote(), and OnWindowRemote().

CStatusBar CMainWnd::m_wndStatusBar
 

Definition at line 53 of file WndMain.h.

Referenced by OnCreate(), OnSetMessageString(), and UpdateMessages().

CWndTabBar CMainWnd::m_wndTabBar
 

Definition at line 52 of file WndMain.h.

Referenced by OnCreate(), OnSkinChanged(), OnUpdateFrameTitle(), OnUpdateTabConnect(), OnUpdateWindowTabBar(), OnWindowNavBar(), OnWindowTabBar(), OnWindowToolBar(), and SetGUIMode().

CCoolBarCtrl CMainWnd::m_wndToolBar
 

Definition at line 51 of file WndMain.h.

Referenced by OnCreate(), OnSkinChanged(), OnUpdateTabConnect(), OnUpdateTabMedia(), OnUpdateWindowToolBar(), OnWindowNavBar(), OnWindowToolBar(), and SetGUIMode().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:09 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2