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

CPanelWnd Class Reference

#include <WndPanel.h>

Inheritance diagram for CPanelWnd:

CChildWnd CBaseMatchWnd CDiscoveryWnd CDownloadsWnd CHelpWnd CHomeWnd CHostCacheWnd CLibraryWnd CMediaWnd CNeighboursWnd CPacketWnd CPluginWnd CSearchMonitorWnd CSearchPadWnd CSecurityWnd CSystemWnd CUploadsWnd List of all members.

Public Member Functions

 CPanelWnd (BOOL bTabMode=FALSE, BOOL bGroupMode=FALSE)
virtual ~CPanelWnd ()

Protected Member Functions

void PaintCaption (CDC &dc)
void PanelSizeLoop ()
afx_msg void OnNcPaint ()
afx_msg void OnNcCalcSize (BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR *lpncsp)
afx_msg UINT OnNcHitTest (CPoint point)
afx_msg BOOL OnNcActivate (BOOL bActive)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnNcLButtonDown (UINT nHitTest, CPoint point)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg LONG OnSetText (WPARAM wParam, LPARAM lParam)

Protected Attributes

CRect m_rcClose
BOOL m_bPanelClose

Constructor & Destructor Documentation

CPanelWnd::CPanelWnd BOOL  bTabMode = FALSE,
BOOL  bGroupMode = FALSE
 

Definition at line 59 of file WndPanel.cpp.

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

CPanelWnd::~CPanelWnd  )  [virtual]
 

Definition at line 72 of file WndPanel.cpp.


Member Function Documentation

int CPanelWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CChildWnd.

Reimplemented in CBaseMatchWnd, CBrowseHostWnd, CDiscoveryWnd, CDownloadsWnd, CHelpWnd, CHitMonitorWnd, CHomeWnd, CHostCacheWnd, CLibraryWnd, CMediaWnd, CNeighboursWnd, CPacketWnd, CPluginWnd, CSearchWnd, CSearchMonitorWnd, CSearchPadWnd, CSecurityWnd, CSystemWnd, and CUploadsWnd.

Definition at line 79 of file WndPanel.cpp.

References CChildWnd::OnCreate().

Referenced by CUploadsWnd::OnCreate(), CSystemWnd::OnCreate(), CSecurityWnd::OnCreate(), CSearchPadWnd::OnCreate(), CSearchMonitorWnd::OnCreate(), CPacketWnd::OnCreate(), CNeighboursWnd::OnCreate(), CMediaWnd::OnCreate(), CLibraryWnd::OnCreate(), CHostCacheWnd::OnCreate(), CHomeWnd::OnCreate(), CHelpWnd::OnCreate(), CDownloadsWnd::OnCreate(), CDiscoveryWnd::OnCreate(), and CBaseMatchWnd::OnCreate().

BOOL CPanelWnd::OnNcActivate BOOL  bActive  )  [protected]
 

Reimplemented from CChildWnd.

Reimplemented in CMediaWnd.

Definition at line 138 of file WndPanel.cpp.

References CChildWnd::m_bPanelMode, CChildWnd::m_pSkin, CChildWnd::OnNcActivate(), and PaintCaption().

Referenced by CMediaWnd::OnNcActivate().

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

Reimplemented from CChildWnd.

Definition at line 100 of file WndPanel.cpp.

References CAPTION_HEIGHT, CChildWnd::m_bPanelMode, CChildWnd::m_pSkin, NULL, and CChildWnd::OnNcCalcSize().

UINT CPanelWnd::OnNcHitTest CPoint  point  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 112 of file WndPanel.cpp.

References CAPTION_HEIGHT, CChildWnd::m_bPanelMode, CChildWnd::m_pSkin, and CChildWnd::OnNcHitTest().

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

Reimplemented from CChildWnd.

Definition at line 263 of file WndPanel.cpp.

References CChildWnd::m_bGroupMode, m_bPanelClose, CChildWnd::m_pGroupParent, CChildWnd::m_pSkin, m_rcClose, NULL, CChildWnd::OnNcLButtonDown(), and PanelSizeLoop().

void CPanelWnd::OnNcPaint  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 125 of file WndPanel.cpp.

References CChildWnd::m_bPanelMode, CChildWnd::m_pSkin, CChildWnd::OnNcPaint(), and PaintCaption().

BOOL CPanelWnd::OnSetCursor CWnd *  pWnd,
UINT  nHitTest,
UINT  message
[protected]
 

Reimplemented in CDownloadsWnd, and CSearchWnd.

Definition at line 241 of file WndPanel.cpp.

References IDC_HAND, CChildWnd::m_bGroupMode, m_bPanelClose, CChildWnd::m_pGroupParent, CChildWnd::m_pSkin, m_rcClose, and NULL.

Referenced by CSearchWnd::OnSetCursor(), and CDownloadsWnd::OnSetCursor().

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

Reimplemented from CChildWnd.

Definition at line 150 of file WndPanel.cpp.

References CChildWnd::m_bPanelMode, CChildWnd::m_pSkin, CSkinWindow::OnSetText(), and PaintCaption().

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

Reimplemented from CChildWnd.

Reimplemented in CBaseMatchWnd, CBrowseHostWnd, CDiscoveryWnd, CDownloadsWnd, CHelpWnd, CHomeWnd, CHostCacheWnd, CLibraryWnd, CMediaWnd, CNeighboursWnd, CPacketWnd, CPluginWnd, CSearchWnd, CSearchMonitorWnd, CSearchPadWnd, CSecurityWnd, CSystemWnd, and CUploadsWnd.

Definition at line 86 of file WndPanel.cpp.

References CCoolInterface::IsNewWindows(), CChildWnd::m_bPanelMode, CChildWnd::m_pSkin, and CChildWnd::OnSize().

Referenced by CUploadsWnd::OnSize(), CSystemWnd::OnSize(), CSecurityWnd::OnSize(), CSearchPadWnd::OnSize(), CSearchMonitorWnd::OnSize(), CSearchWnd::OnSize(), CPluginWnd::OnSize(), CPacketWnd::OnSize(), CNeighboursWnd::OnSize(), CMediaWnd::OnSize(), CLibraryWnd::OnSize(), CHostCacheWnd::OnSize(), CHomeWnd::OnSize(), CHelpWnd::OnSize(), CDownloadsWnd::OnSize(), CDiscoveryWnd::OnSize(), CBrowseHostWnd::OnSize(), and CBaseMatchWnd::OnSize().

void CPanelWnd::PaintCaption CDC &  dc  )  [protected]
 

Definition at line 181 of file WndPanel.cpp.

References CAPTION_HEIGHT, CoolInterface, CCoolInterface::DrawWatermark(), CCoolInterface::GetBuffer(), CSkin::m_bmPanelMark, m_bPanelClose, CSkin::m_crPanelBack, CSkin::m_crPanelBorder, CSkin::m_crPanelText, CCoolInterface::m_fntCaption, CShareazaApp::m_gdiFont, m_rcClose, NULL, Skin, and theApp.

Referenced by OnNcActivate(), OnNcPaint(), and OnSetText().

void CPanelWnd::PanelSizeLoop  )  [protected]
 

Definition at line 282 of file WndPanel.cpp.

References CChildWnd::m_nGroupSize, CChildWnd::m_pGroupParent, and NULL.

Referenced by OnNcLButtonDown().


Member Data Documentation

BOOL CPanelWnd::m_bPanelClose [protected]
 

Definition at line 42 of file WndPanel.h.

Referenced by OnNcLButtonDown(), OnSetCursor(), and PaintCaption().

CRect CPanelWnd::m_rcClose [protected]
 

Definition at line 41 of file WndPanel.h.

Referenced by OnNcLButtonDown(), OnSetCursor(), and PaintCaption().


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