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

CFolderPropertiesDlg Class Reference

#include <DlgFolderProperties.h>

Inheritance diagram for CFolderPropertiesDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_FOLDER_PROPERTIES }

Public Member Functions

 CFolderPropertiesDlg (CWnd *pParent=NULL, CAlbumFolder *pFolder=NULL)
virtual BOOL PreTranslateMessage (MSG *pMsg)

Public Attributes

CStatic m_wndApply
CButton m_wndCancel
CButton m_wndOK
CEdit m_wndTitle
CSchemaCombo m_wndSchemas
CStatic m_wndTitleLabel
CStatic m_wndTypeLabel

Protected Member Functions

void DoApply (BOOL bMetaToFiles)
virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnDestroy ()
afx_msg void OnGetMinMaxInfo (MINMAXINFO FAR *lpMMI)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnSelChangeSchemas ()
afx_msg void OnCloseUpSchemas ()
virtual void OnOK ()
afx_msg void OnPaint ()
afx_msg void OnChangeTitle ()
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnChangeData ()

Protected Attributes

CAlbumFolderm_pFolder
CSchemaCtrl m_wndData
int m_nWidth
BOOL m_bUpdating

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 45 of file DlgFolderProperties.h.


Constructor & Destructor Documentation

CFolderPropertiesDlg::CFolderPropertiesDlg CWnd *  pParent = NULL,
CAlbumFolder pFolder = NULL
 

Definition at line 62 of file DlgFolderProperties.cpp.


Member Function Documentation

void CFolderPropertiesDlg::DoApply BOOL  bMetaToFiles  )  [protected]
 

Definition at line 340 of file DlgFolderProperties.cpp.

References CXMLElement::AddElement(), CLibraryFolders::CheckAlbum(), CSchemaCombo::GetSelected(), Library, LibraryFolders, CAlbumFolder::m_nUpdateCookie, m_pFolder, CLibrary::m_pSection, CAlbumFolder::m_sName, m_wndData, m_wndSchemas, m_wndTitle, CAlbumFolder::MetaToFiles(), NULL, CAlbumFolder::SetMetadata(), CLibrary::Update(), and CSchemaCtrl::UpdateData().

Referenced by OnLButtonUp(), and OnOK().

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

Reimplemented from CSkinDialog.

Definition at line 71 of file DlgFolderProperties.cpp.

References CSkinDialog::DoDataExchange(), IDC_APPLY_METADATA, IDC_SCHEMAS, IDC_TITLE, m_wndApply, m_wndCancel, m_wndOK, m_wndSchemas, and m_wndTitle.

void CFolderPropertiesDlg::OnChangeData  )  [protected]
 

Definition at line 318 of file DlgFolderProperties.cpp.

References CXMLElement::GetAttributeValue(), CSchemaCombo::GetSelected(), m_bUpdating, m_wndData, m_wndSchemas, m_wndTitle, NULL, and CSchemaCtrl::UpdateData().

void CFolderPropertiesDlg::OnChangeTitle  )  [protected]
 

Definition at line 298 of file DlgFolderProperties.cpp.

References CXMLElement::AddAttribute(), CSchemaCombo::GetSelected(), m_bUpdating, m_wndData, m_wndSchemas, m_wndTitle, NULL, and CSchemaCtrl::UpdateData().

Referenced by OnSelChangeSchemas().

void CFolderPropertiesDlg::OnCloseUpSchemas  )  [protected]
 

Definition at line 290 of file DlgFolderProperties.cpp.

References CSchemaCombo::GetSelected(), and m_wndSchemas.

HBRUSH CFolderPropertiesDlg::OnCtlColor CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor
[protected]
 

Reimplemented from CSkinDialog.

Definition at line 239 of file DlgFolderProperties.cpp.

References CShareazaApp::m_gdiFontLine, m_wndApply, CSkinDialog::OnCtlColor(), and theApp.

void CFolderPropertiesDlg::OnDestroy  )  [protected]
 

Definition at line 128 of file DlgFolderProperties.cpp.

References CSettings::SaveWindow(), and Settings.

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

Definition at line 144 of file DlgFolderProperties.cpp.

References m_nWidth.

BOOL CFolderPropertiesDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 86 of file DlgFolderProperties.cpp.

References CLibraryFolders::CheckAlbum(), CSchemaCtrl::Create(), IDC_METADATA, IDR_LIBRARYFRAME, Library, LibraryFolders, CSchemaCombo::Load(), CSettings::LoadWindow(), m_bUpdating, m_nWidth, m_pFolder, CLibrary::m_pSection, CAlbumFolder::m_pXML, CAlbumFolder::m_sName, CAlbumFolder::m_sSchemaURI, m_wndData, m_wndSchemas, m_wndTitle, CSkinDialog::OnInitDialog(), OnSelChangeSchemas(), Settings, CSkinDialog::SkinMe(), CSchema::stFolder, and CSchemaCtrl::UpdateData().

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

Definition at line 269 of file DlgFolderProperties.cpp.

References DoApply(), and m_wndApply.

void CFolderPropertiesDlg::OnOK  )  [protected, virtual]
 

Definition at line 334 of file DlgFolderProperties.cpp.

References DoApply().

void CFolderPropertiesDlg::OnPaint  )  [protected]
 

Definition at line 192 of file DlgFolderProperties.cpp.

References CCoolInterface::CalculateColour(), CoolInterface, CShellIcons::GetHandle(), CSchemaCombo::GetSelected(), CCoolInterface::m_crTipBack, m_wndSchemas, ShellIcons, and SHI_FOLDER_OPEN.

void CFolderPropertiesDlg::OnSelChangeSchemas  )  [protected]
 

Definition at line 283 of file DlgFolderProperties.cpp.

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

Referenced by OnInitDialog().

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

Definition at line 252 of file DlgFolderProperties.cpp.

References IDC_HAND, m_wndApply, and theApp.

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

Reimplemented from CSkinDialog.

Definition at line 156 of file DlgFolderProperties.cpp.

References m_wndApply, m_wndCancel, m_wndData, m_wndOK, m_wndSchemas, m_wndTitle, NULL, and CSkinDialog::OnSize().

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

Definition at line 134 of file DlgFolderProperties.cpp.

References m_wndData, and CSchemaCtrl::OnTab().


Member Data Documentation

BOOL CFolderPropertiesDlg::m_bUpdating [protected]
 

Definition at line 60 of file DlgFolderProperties.h.

Referenced by OnChangeData(), OnChangeTitle(), and OnInitDialog().

int CFolderPropertiesDlg::m_nWidth [protected]
 

Definition at line 59 of file DlgFolderProperties.h.

Referenced by OnGetMinMaxInfo(), and OnInitDialog().

CAlbumFolder* CFolderPropertiesDlg::m_pFolder [protected]
 

Definition at line 57 of file DlgFolderProperties.h.

Referenced by DoApply(), and OnInitDialog().

CStatic CFolderPropertiesDlg::m_wndApply
 

Definition at line 46 of file DlgFolderProperties.h.

Referenced by DoDataExchange(), OnCtlColor(), OnLButtonUp(), OnSetCursor(), and OnSize().

CButton CFolderPropertiesDlg::m_wndCancel
 

Definition at line 47 of file DlgFolderProperties.h.

Referenced by DoDataExchange(), and OnSize().

CSchemaCtrl CFolderPropertiesDlg::m_wndData [protected]
 

Definition at line 58 of file DlgFolderProperties.h.

Referenced by DoApply(), OnChangeData(), OnChangeTitle(), OnInitDialog(), OnSelChangeSchemas(), OnSize(), and PreTranslateMessage().

CButton CFolderPropertiesDlg::m_wndOK
 

Definition at line 48 of file DlgFolderProperties.h.

Referenced by DoDataExchange(), and OnSize().

CSchemaCombo CFolderPropertiesDlg::m_wndSchemas
 

Definition at line 50 of file DlgFolderProperties.h.

Referenced by DoApply(), DoDataExchange(), OnChangeData(), OnChangeTitle(), OnCloseUpSchemas(), OnInitDialog(), OnPaint(), OnSelChangeSchemas(), and OnSize().

CEdit CFolderPropertiesDlg::m_wndTitle
 

Definition at line 49 of file DlgFolderProperties.h.

Referenced by DoApply(), DoDataExchange(), OnChangeData(), OnChangeTitle(), OnInitDialog(), and OnSize().

CStatic CFolderPropertiesDlg::m_wndTitleLabel
 

Definition at line 51 of file DlgFolderProperties.h.

CStatic CFolderPropertiesDlg::m_wndTypeLabel
 

Definition at line 52 of file DlgFolderProperties.h.


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