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

CLiveListSizer Class Reference

#include <LiveListSizer.h>

List of all members.

Public Member Functions

 CLiveListSizer (CListCtrl *pCtrl=NULL)
virtual ~CLiveListSizer ()
void Attach (CListCtrl *pCtrl, BOOL bScale=FALSE)
void Detach ()
BOOL Resize (int nWidth=0, BOOL bScale=FALSE)

Protected Attributes

CListCtrl * m_pCtrl
int m_nWidth
int m_nColumns
int * m_pWidth
float * m_pTake


Constructor & Destructor Documentation

CLiveListSizer::CLiveListSizer CListCtrl *  pCtrl = NULL  ) 
 

Definition at line 37 of file LiveListSizer.cpp.

References Attach(), m_nColumns, m_nWidth, m_pCtrl, m_pTake, m_pWidth, and NULL.

CLiveListSizer::~CLiveListSizer  )  [virtual]
 

Definition at line 47 of file LiveListSizer.cpp.

References Detach().


Member Function Documentation

void CLiveListSizer::Attach CListCtrl *  pCtrl,
BOOL  bScale = FALSE
 

Definition at line 55 of file LiveListSizer.cpp.

References Detach(), m_pCtrl, and Resize().

Referenced by CLiveListSizer(), CSecurityWnd::OnCreate(), CSearchMonitorWnd::OnCreate(), CPacketWnd::OnCreate(), CNeighboursWnd::OnCreate(), CHostCacheWnd::OnCreate(), and CDiscoveryWnd::OnCreate().

void CLiveListSizer::Detach  ) 
 

Definition at line 62 of file LiveListSizer.cpp.

References m_nColumns, m_nWidth, m_pCtrl, m_pTake, m_pWidth, and NULL.

Referenced by Attach(), and ~CLiveListSizer().

BOOL CLiveListSizer::Resize int  nWidth = 0,
BOOL  bScale = FALSE
 

Definition at line 76 of file LiveListSizer.cpp.

References CSettings::General, m_nColumns, m_nWidth, m_pCtrl, m_pTake, m_pWidth, NULL, Settings, and CSettings::sGeneral::SizeLists.

Referenced by Attach(), CSecurityWnd::OnSize(), CSearchMonitorWnd::OnSize(), CPacketWnd::OnSize(), CNeighboursWnd::OnSize(), CHostCacheWnd::OnSize(), and CDiscoveryWnd::OnSize().


Member Data Documentation

int CLiveListSizer::m_nColumns [protected]
 

Definition at line 39 of file LiveListSizer.h.

Referenced by CLiveListSizer(), Detach(), and Resize().

int CLiveListSizer::m_nWidth [protected]
 

Definition at line 38 of file LiveListSizer.h.

Referenced by CLiveListSizer(), Detach(), and Resize().

CListCtrl* CLiveListSizer::m_pCtrl [protected]
 

Definition at line 37 of file LiveListSizer.h.

Referenced by Attach(), CLiveListSizer(), Detach(), and Resize().

float* CLiveListSizer::m_pTake [protected]
 

Definition at line 41 of file LiveListSizer.h.

Referenced by CLiveListSizer(), Detach(), and Resize().

int* CLiveListSizer::m_pWidth [protected]
 

Definition at line 40 of file LiveListSizer.h.

Referenced by CLiveListSizer(), Detach(), and Resize().


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