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

CFileCommentsPage Class Reference

#include <PageFileComments.h>

Inheritance diagram for CFileCommentsPage:

CFilePropertiesPage List of all members.

Public Types

enum  { IDD = IDD_FILE_COMMENTS }

Public Member Functions

 CFileCommentsPage ()
virtual ~CFileCommentsPage ()
virtual void OnOK ()

Public Attributes

CEdit m_wndComments
CComboBox m_wndRating
CString m_sComments
int m_nRating

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file PageFileComments.h.


Constructor & Destructor Documentation

CFileCommentsPage::CFileCommentsPage  ) 
 

Definition at line 49 of file PageFileComments.cpp.

CFileCommentsPage::~CFileCommentsPage  )  [virtual]
 

Definition at line 57 of file PageFileComments.cpp.


Member Function Documentation

void CFileCommentsPage::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CFilePropertiesPage.

Definition at line 61 of file PageFileComments.cpp.

References IDC_FILE_COMMENTS, IDC_FILE_RATING, m_nRating, m_sComments, m_wndComments, and m_wndRating.

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

Definition at line 118 of file PageFileComments.cpp.

References CShellIcons::Draw(), CShareazaApp::m_bRTL, CShareazaApp::m_gdiFont, CShareazaApp::m_gdiFontBold, m_wndRating, ShellIcons, SHI_FAKE, SHI_STAR, and theApp.

BOOL CFileCommentsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CFilePropertiesPage.

Definition at line 75 of file PageFileComments.cpp.

References CLibraryList::GetCount(), CFilePropertiesPage::GetFile(), CLibraryList::GetIterator(), CFilePropertiesPage::GetList(), CLibraryList::GetNextFile(), Library, CLibraryFile::m_nRating, m_nRating, CLibrary::m_pSection, CLibraryFile::m_sComments, m_sComments, m_wndComments, NULL, and CFilePropertiesPage::OnInitDialog().

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

Definition at line 112 of file PageFileComments.cpp.

void CFileCommentsPage::OnOK  )  [virtual]
 

Definition at line 185 of file PageFileComments.cpp.

References CLibraryList::GetCount(), CFilePropertiesPage::GetFile(), CLibraryList::GetIterator(), CFilePropertiesPage::GetList(), CLibraryList::GetNextFile(), Library, m_nRating, CLibrary::m_pSection, m_sComments, NULL, and CLibrary::Update().


Member Data Documentation

int CFileCommentsPage::m_nRating
 

Definition at line 46 of file PageFileComments.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CString CFileCommentsPage::m_sComments
 

Definition at line 45 of file PageFileComments.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CEdit CFileCommentsPage::m_wndComments
 

Definition at line 43 of file PageFileComments.h.

Referenced by DoDataExchange(), and OnInitDialog().

CComboBox CFileCommentsPage::m_wndRating
 

Definition at line 44 of file PageFileComments.h.

Referenced by DoDataExchange(), and OnDrawItem().


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