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

CFilePropertiesDlg Class Reference

#include <DlgFileProperties.h>

Inheritance diagram for CFilePropertiesDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_FILE_PROPERTIES }

Public Member Functions

 CFilePropertiesDlg (CWnd *pParent=NULL, DWORD nIndex=0)
void Update ()
virtual BOOL PreTranslateMessage (MSG *pMsg)

Public Attributes

CStatic m_wndHash
CStatic m_wndIcon
CButton m_wndCancel
CButton m_wndOK
CSchemaCombo m_wndSchemas
CString m_sName
CString m_sSize
CString m_sType
CString m_sPath
CString m_sIndex
CString m_sSHA1
CString m_sTiger

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnGetMinMaxInfo (MINMAXINFO FAR *lpMMI)
afx_msg void OnSelChangeSchemas ()
virtual void OnOK ()
afx_msg void OnDestroy ()
afx_msg void OnCloseUpSchemas ()
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnTimer (UINT nIDEvent)

Protected Attributes

CSchemaCtrl m_wndSchema
DWORD m_nIndex
BOOL m_bHexHash
int m_nWidth

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 43 of file DlgFileProperties.h.


Constructor & Destructor Documentation

CFilePropertiesDlg::CFilePropertiesDlg CWnd *  pParent = NULL,
DWORD  nIndex = 0
 

Definition at line 59 of file DlgFileProperties.cpp.


Member Function Documentation

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

Reimplemented from CSkinDialog.

Definition at line 76 of file DlgFileProperties.cpp.

References CSkinDialog::DoDataExchange(), IDC_FILE_HASH_LABEL, IDC_FILE_ICON, IDC_FILE_INDEX, IDC_FILE_NAME, IDC_FILE_PATH, IDC_FILE_SHA1, IDC_FILE_SIZE, IDC_FILE_TIGER, IDC_FILE_TYPE, IDC_SCHEMAS, m_sIndex, m_sName, m_sPath, m_sSHA1, m_sSize, m_sTiger, m_sType, m_wndCancel, m_wndHash, m_wndIcon, m_wndOK, and m_wndSchemas.

void CFilePropertiesDlg::OnCloseUpSchemas  )  [protected]
 

Definition at line 243 of file DlgFileProperties.cpp.

References CSchemaCombo::GetSelected(), and m_wndSchemas.

void CFilePropertiesDlg::OnDestroy  )  [protected]
 

Definition at line 309 of file DlgFileProperties.cpp.

References CSettings::SaveWindow(), and Settings.

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

Definition at line 197 of file DlgFileProperties.cpp.

References m_nWidth.

BOOL CFilePropertiesDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 98 of file DlgFileProperties.cpp.

References CSchemaCtrl::Create(), IDC_METADATA, IDI_PROPERTIES, CSettings::LoadWindow(), m_nWidth, m_wndSchema, CSkinDialog::OnInitDialog(), Settings, CSkinDialog::SkinMe(), and Update().

void CFilePropertiesDlg::OnLButtonUp UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 261 of file DlgFileProperties.cpp.

References m_bHexHash, m_wndHash, and Update().

void CFilePropertiesDlg::OnOK  )  [protected, virtual]
 

Definition at line 277 of file DlgFileProperties.cpp.

References CXMLElement::AddElement(), CSchemaCombo::GetSelected(), Library, CLibrary::LookupFile(), m_nIndex, CLibrary::m_pSection, m_wndSchema, m_wndSchemas, NULL, CLibrary::Update(), and CSchemaCtrl::UpdateData().

void CFilePropertiesDlg::OnSelChangeSchemas  )  [protected]
 

Definition at line 237 of file DlgFileProperties.cpp.

References CSchemaCombo::GetSelected(), m_wndSchema, m_wndSchemas, and CSchemaCtrl::SetSchema().

Referenced by Update().

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

Reimplemented from CSkinDialog.

Definition at line 209 of file DlgFileProperties.cpp.

References m_wndCancel, m_wndOK, m_wndSchema, m_wndSchemas, NULL, and CSkinDialog::OnSize().

Referenced by OnTimer().

void CFilePropertiesDlg::OnTimer UINT  nIDEvent  )  [protected]
 

Definition at line 230 of file DlgFileProperties.cpp.

References OnSize().

BOOL CFilePropertiesDlg::PreTranslateMessage MSG *  pMsg  )  [virtual]
 

Definition at line 251 of file DlgFileProperties.cpp.

References m_wndSchema, and CSchemaCtrl::OnTab().

void CFilePropertiesDlg::Update  ) 
 

Definition at line 125 of file DlgFileProperties.cpp.

References CXMLElement::AddAttribute(), CXMLElement::Clone(), CXMLElement::GetAttribute(), CLibraryFile::GetSize(), CSHA::HashToHexString(), CTigerNode::HashToString(), CSHA::HashToString(), IDS_GENERAL_NOURNAVAILABLE, IDS_SEARCH_NO_METADATA, CLibraryFile::IsAvailable(), Library, CSchemaCombo::Load(), LoadString(), CShellIcons::Lookup(), CLibrary::LookupFile(), m_bHexHash, CLibraryFile::m_bSHA1, CLibraryFile::m_bTiger, CLibraryFile::m_nIndex, m_nIndex, CLibraryFile::m_pFolder, CLibraryFile::m_pMetadata, CLibraryFile::m_pSchema, CLibrary::m_pSection, CLibraryFile::m_pSHA1, CLibraryFile::m_pTiger, m_sIndex, CLibraryFile::m_sName, m_sName, CSchemaCombo::m_sNoSchemaText, CLibraryFolder::m_sPath, m_sPath, m_sSHA1, m_sSize, m_sTiger, m_sType, CSchema::m_sURI, m_wndIcon, m_wndSchema, m_wndSchemas, NULL, OnSelChangeSchemas(), Settings, ShellIcons, CSettings::SmartVolume(), and CSchemaCtrl::UpdateData().

Referenced by OnInitDialog(), and OnLButtonUp().


Member Data Documentation

BOOL CFilePropertiesDlg::m_bHexHash [protected]
 

Definition at line 62 of file DlgFileProperties.h.

Referenced by OnLButtonUp(), and Update().

DWORD CFilePropertiesDlg::m_nIndex [protected]
 

Definition at line 61 of file DlgFileProperties.h.

Referenced by OnOK(), and Update().

int CFilePropertiesDlg::m_nWidth [protected]
 

Definition at line 63 of file DlgFileProperties.h.

Referenced by OnGetMinMaxInfo(), and OnInitDialog().

CString CFilePropertiesDlg::m_sIndex
 

Definition at line 53 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and Update().

CString CFilePropertiesDlg::m_sName
 

Definition at line 49 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and Update().

CString CFilePropertiesDlg::m_sPath
 

Definition at line 52 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and Update().

CString CFilePropertiesDlg::m_sSHA1
 

Definition at line 54 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and Update().

CString CFilePropertiesDlg::m_sSize
 

Definition at line 50 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and Update().

CString CFilePropertiesDlg::m_sTiger
 

Definition at line 55 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and Update().

CString CFilePropertiesDlg::m_sType
 

Definition at line 51 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and Update().

CButton CFilePropertiesDlg::m_wndCancel
 

Definition at line 46 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and OnSize().

CStatic CFilePropertiesDlg::m_wndHash
 

Definition at line 44 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and OnLButtonUp().

CStatic CFilePropertiesDlg::m_wndIcon
 

Definition at line 45 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and Update().

CButton CFilePropertiesDlg::m_wndOK
 

Definition at line 47 of file DlgFileProperties.h.

Referenced by DoDataExchange(), and OnSize().

CSchemaCtrl CFilePropertiesDlg::m_wndSchema [protected]
 

Definition at line 60 of file DlgFileProperties.h.

Referenced by OnInitDialog(), OnOK(), OnSelChangeSchemas(), OnSize(), PreTranslateMessage(), and Update().

CSchemaCombo CFilePropertiesDlg::m_wndSchemas
 

Definition at line 48 of file DlgFileProperties.h.

Referenced by DoDataExchange(), OnCloseUpSchemas(), OnOK(), OnSelChangeSchemas(), OnSize(), and Update().


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