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

CSkinDialog Class Reference

#include <DlgSkinDialog.h>

Inheritance diagram for CSkinDialog:

CAboutDlg CBitziDownloadDlg CCloseModeDlg CCollectionExportDlg CConnectToDlg CDecodeMetadataDlg CDeleteFileDlg CDiscoveryServiceDlg CDonkeyImportDlg CDonkeyServersDlg CDownloadDlg CDownloadEditDlg CDownloadGroupDlg CDownloadMonitorDlg CDownloadReviewDlg CExistingFileDlg CFileCopyDlg CFilePreviewDlg CFilePropertiesDlg CFilterSearchDlg CFolderPropertiesDlg CFolderScanDlg CGraphItemDlg CGraphListDlg CHelpDlg CLanguageDlg CMediaVisDlg CNewSearchDlg CPromoteDlg CQueuePropertiesDlg CSaveFilterAsDlg CSchemaColumnsDlg CSecureRuleDlg CSettingsSheet CShareManagerDlg CTorrentSeedDlg CTorrentTrackerDlg CUpgradeDlg CURLActionDlg CURLCopyDlg CURLExportDlg CWarningsDlg List of all members.

Public Member Functions

 CSkinDialog (UINT nResID=0, CWnd *pParent=NULL)
BOOL SkinMe (LPCTSTR pszSkin=NULL, UINT nIcon=0, BOOL bLanguage=TRUE)
BOOL SelectCaption (CWnd *pWnd, int nIndex)

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnNcCalcSize (BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR *lpncsp)
afx_msg UINT OnNcHitTest (CPoint point)
afx_msg BOOL OnNcActivate (BOOL bActive)
afx_msg void OnNcPaint ()
afx_msg void OnNcLButtonDown (UINT nHitTest, CPoint point)
afx_msg void OnNcLButtonUp (UINT nHitTest, CPoint point)
afx_msg void OnNcLButtonDblClk (UINT nHitTest, CPoint point)
afx_msg void OnNcMouseMove (UINT nHitTest, CPoint point)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg LONG OnSetText (WPARAM wParam, LPARAM lParam)
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
afx_msg void OnWindowPosChanging (WINDOWPOS *lpwndpos)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)

Protected Attributes

CSkinWindowm_pSkin

Constructor & Destructor Documentation

CSkinDialog::CSkinDialog UINT  nResID = 0,
CWnd *  pParent = NULL
 

Definition at line 60 of file DlgSkinDialog.cpp.

References NULL.


Member Function Documentation

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

Reimplemented in CAboutDlg, CBitziDownloadDlg, CCloseModeDlg, CCollectionExportDlg, CConnectToDlg, CDecodeMetadataDlg, CDeleteFileDlg, CDiscoveryServiceDlg, CDonkeyImportDlg, CDonkeyServersDlg, CDownloadDlg, CDownloadEditDlg, CDownloadGroupDlg, CDownloadMonitorDlg, CDownloadReviewDlg, CExistingFileDlg, CFileCopyDlg, CFilePreviewDlg, CFilePropertiesDlg, CFilterSearchDlg, CFolderPropertiesDlg, CFolderScanDlg, CGraphItemDlg, CGraphListDlg, CHelpDlg, CSchemaColumnsDlg, CLanguageDlg, CMediaVisDlg, CNewSearchDlg, CPromoteDlg, CQueuePropertiesDlg, CSaveFilterAsDlg, CSecureRuleDlg, CSettingsManagerDlg, CShareManagerDlg, CTorrentSeedDlg, CTorrentTrackerDlg, CUpgradeDlg, CURLActionDlg, CURLCopyDlg, CURLExportDlg, CWarningsDlg, and CSettingsSheet.

Definition at line 67 of file DlgSkinDialog.cpp.

Referenced by CSettingsSheet::DoDataExchange(), CWarningsDlg::DoDataExchange(), CURLExportDlg::DoDataExchange(), CURLCopyDlg::DoDataExchange(), CURLActionDlg::DoDataExchange(), CUpgradeDlg::DoDataExchange(), CTorrentTrackerDlg::DoDataExchange(), CSecureRuleDlg::DoDataExchange(), CQueuePropertiesDlg::DoDataExchange(), CPromoteDlg::DoDataExchange(), CNewSearchDlg::DoDataExchange(), CMediaVisDlg::DoDataExchange(), CLanguageDlg::DoDataExchange(), CSchemaColumnsDlg::DoDataExchange(), CHelpDlg::DoDataExchange(), CGraphListDlg::DoDataExchange(), CGraphItemDlg::DoDataExchange(), CFolderScanDlg::DoDataExchange(), CFolderPropertiesDlg::DoDataExchange(), CFilterSearchDlg::DoDataExchange(), CFilePropertiesDlg::DoDataExchange(), CFilePreviewDlg::DoDataExchange(), CFileCopyDlg::DoDataExchange(), CExistingFileDlg::DoDataExchange(), CDownloadReviewDlg::DoDataExchange(), CDownloadMonitorDlg::DoDataExchange(), CDownloadGroupDlg::DoDataExchange(), CDownloadEditDlg::DoDataExchange(), CDownloadDlg::DoDataExchange(), CDonkeyServersDlg::DoDataExchange(), CDonkeyImportDlg::DoDataExchange(), CDiscoveryServiceDlg::DoDataExchange(), CDeleteFileDlg::DoDataExchange(), CDecodeMetadataDlg::DoDataExchange(), CConnectToDlg::DoDataExchange(), CCollectionExportDlg::DoDataExchange(), CCloseModeDlg::DoDataExchange(), CBitziDownloadDlg::DoDataExchange(), and CAboutDlg::DoDataExchange().

int CSkinDialog::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented in CAboutDlg, and CLanguageDlg.

Definition at line 304 of file DlgSkinDialog.cpp.

References CShareazaApp::m_bRTL, and theApp.

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

Reimplemented in CAboutDlg, CBitziDownloadDlg, CDeleteFileDlg, CDownloadEditDlg, CDownloadMonitorDlg, CExistingFileDlg, CFolderPropertiesDlg, CPromoteDlg, CURLCopyDlg, and CWarningsDlg.

Definition at line 242 of file DlgSkinDialog.cpp.

References CSkin::m_brDialog, CSkin::m_crDialog, and Skin.

Referenced by CWarningsDlg::OnCtlColor(), CURLCopyDlg::OnCtlColor(), CPromoteDlg::OnCtlColor(), CFolderPropertiesDlg::OnCtlColor(), CExistingFileDlg::OnCtlColor(), CDownloadMonitorDlg::OnCtlColor(), CDownloadEditDlg::OnCtlColor(), CDeleteFileDlg::OnCtlColor(), CBitziDownloadDlg::OnCtlColor(), and CAboutDlg::OnCtlColor().

BOOL CSkinDialog::OnEraseBkgnd CDC *  pDC  )  [protected]
 

Reimplemented in CLanguageDlg.

Definition at line 231 of file DlgSkinDialog.cpp.

References CSkin::m_crDialog, m_pSkin, CSkinWindow::OnEraseBkgnd(), and Skin.

BOOL CSkinDialog::OnInitDialog  )  [protected, virtual]
 

Reimplemented in CAboutDlg, CBitziDownloadDlg, CCloseModeDlg, CCollectionExportDlg, CConnectToDlg, CDecodeMetadataDlg, CDeleteFileDlg, CDiscoveryServiceDlg, CDonkeyImportDlg, CDonkeyServersDlg, CDownloadDlg, CDownloadEditDlg, CDownloadGroupDlg, CDownloadMonitorDlg, CDownloadReviewDlg, CExistingFileDlg, CFileCopyDlg, CFilePreviewDlg, CFilePropertiesDlg, CFilterSearchDlg, CFolderPropertiesDlg, CFolderScanDlg, CGraphItemDlg, CGraphListDlg, CHelpDlg, CSchemaColumnsDlg, CLanguageDlg, CMediaVisDlg, CNewSearchDlg, CProfileManagerDlg, CPromoteDlg, CQueuePropertiesDlg, CSaveFilterAsDlg, CSecureRuleDlg, CSettingsManagerDlg, CShareManagerDlg, CTorrentSeedDlg, CTorrentTrackerDlg, CUpgradeDlg, CURLActionDlg, CURLCopyDlg, CURLExportDlg, CWarningsDlg, and CSettingsSheet.

Definition at line 313 of file DlgSkinDialog.cpp.

References IDC_BANNER, CShareazaApp::m_bRTL, NULL, and theApp.

Referenced by CSettingsSheet::OnInitDialog(), CWarningsDlg::OnInitDialog(), CURLExportDlg::OnInitDialog(), CURLCopyDlg::OnInitDialog(), CURLActionDlg::OnInitDialog(), CUpgradeDlg::OnInitDialog(), CTorrentTrackerDlg::OnInitDialog(), CTorrentSeedDlg::OnInitDialog(), CShareManagerDlg::OnInitDialog(), CSecureRuleDlg::OnInitDialog(), CSaveFilterAsDlg::OnInitDialog(), CQueuePropertiesDlg::OnInitDialog(), CPromoteDlg::OnInitDialog(), CNewSearchDlg::OnInitDialog(), CMediaVisDlg::OnInitDialog(), CLanguageDlg::OnInitDialog(), CSchemaColumnsDlg::OnInitDialog(), CHelpDlg::OnInitDialog(), CGraphListDlg::OnInitDialog(), CGraphItemDlg::OnInitDialog(), CFolderScanDlg::OnInitDialog(), CFolderPropertiesDlg::OnInitDialog(), CFilterSearchDlg::OnInitDialog(), CFilePropertiesDlg::OnInitDialog(), CFilePreviewDlg::OnInitDialog(), CFileCopyDlg::OnInitDialog(), CExistingFileDlg::OnInitDialog(), CDownloadReviewDlg::OnInitDialog(), CDownloadMonitorDlg::OnInitDialog(), CDownloadGroupDlg::OnInitDialog(), CDownloadEditDlg::OnInitDialog(), CDownloadDlg::OnInitDialog(), CDonkeyServersDlg::OnInitDialog(), CDonkeyImportDlg::OnInitDialog(), CDiscoveryServiceDlg::OnInitDialog(), CDeleteFileDlg::OnInitDialog(), CDecodeMetadataDlg::OnInitDialog(), CConnectToDlg::OnInitDialog(), CCollectionExportDlg::OnInitDialog(), CCloseModeDlg::OnInitDialog(), CBitziDownloadDlg::OnInitDialog(), and CAboutDlg::OnInitDialog().

BOOL CSkinDialog::OnNcActivate BOOL  bActive  )  [protected]
 

Definition at line 162 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnNcActivate().

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

Definition at line 146 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnNcCalcSize().

UINT CSkinDialog::OnNcHitTest CPoint  point  )  [protected]
 

Definition at line 154 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnNcHitTest().

void CSkinDialog::OnNcLButtonDblClk UINT  nHitTest,
CPoint  point
[protected]
 

Definition at line 195 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnNcLButtonDblClk().

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

Definition at line 183 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnNcLButtonDown().

void CSkinDialog::OnNcLButtonUp UINT  nHitTest,
CPoint  point
[protected]
 

Definition at line 189 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnNcLButtonUp().

void CSkinDialog::OnNcMouseMove UINT  nHitTest,
CPoint  point
[protected]
 

Definition at line 201 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnNcMouseMove().

void CSkinDialog::OnNcPaint  )  [protected]
 

Definition at line 175 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnNcPaint().

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

Definition at line 214 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnSetText().

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

Reimplemented in CDownloadMonitorDlg, CFilePropertiesDlg, CFolderPropertiesDlg, CHelpDlg, and CNewSearchDlg.

Definition at line 207 of file DlgSkinDialog.cpp.

References m_pSkin, and CSkinWindow::OnSize().

Referenced by CNewSearchDlg::OnSize(), CHelpDlg::OnSize(), CFolderPropertiesDlg::OnSize(), and CFilePropertiesDlg::OnSize().

void CSkinDialog::OnWindowPosChanging WINDOWPOS *  lpwndpos  )  [protected]
 

Definition at line 257 of file DlgSkinDialog.cpp.

References NULL, SNAP_SIZE, and theApp.

BOOL CSkinDialog::SelectCaption CWnd *  pWnd,
int  nIndex
 

Definition at line 138 of file DlgSkinDialog.cpp.

References CSkin::SelectCaption(), and Skin.

Referenced by CNewSearchDlg::OnInitDialog(), CFileCopyDlg::OnInitDialog(), and CConnectToDlg::OnInitDialog().

BOOL CSkinDialog::SkinMe LPCTSTR  pszSkin = NULL,
UINT  nIcon = 0,
BOOL  bLanguage = TRUE
 

Definition at line 77 of file DlgSkinDialog.cpp.

References CSkin::Apply(), CSkinWindow::CalcWindowRect(), CoolInterface, CreateMirroredIcon(), CCoolInterface::ExtractIcon(), CSkin::GetWindowSkin(), ID_HELP_ABOUT, CShareazaApp::m_bRTL, m_pSkin, NULL, CSkinWindow::OnSize(), Skin, and theApp.

Referenced by CWarningsDlg::OnInitDialog(), CURLExportDlg::OnInitDialog(), CURLCopyDlg::OnInitDialog(), CURLActionDlg::OnInitDialog(), CUpgradeDlg::OnInitDialog(), CTorrentTrackerDlg::OnInitDialog(), CTorrentSeedDlg::OnInitDialog(), CShareManagerDlg::OnInitDialog(), CSettingsManagerDlg::OnInitDialog(), CSecureRuleDlg::OnInitDialog(), CSaveFilterAsDlg::OnInitDialog(), CQueuePropertiesDlg::OnInitDialog(), CPromoteDlg::OnInitDialog(), CProfileManagerDlg::OnInitDialog(), CNewSearchDlg::OnInitDialog(), CMediaVisDlg::OnInitDialog(), CSchemaColumnsDlg::OnInitDialog(), CHelpDlg::OnInitDialog(), CGraphListDlg::OnInitDialog(), CGraphItemDlg::OnInitDialog(), CFolderScanDlg::OnInitDialog(), CFolderPropertiesDlg::OnInitDialog(), CFilterSearchDlg::OnInitDialog(), CFilePropertiesDlg::OnInitDialog(), CFilePreviewDlg::OnInitDialog(), CFileCopyDlg::OnInitDialog(), CExistingFileDlg::OnInitDialog(), CDownloadReviewDlg::OnInitDialog(), CDownloadMonitorDlg::OnInitDialog(), CDownloadGroupDlg::OnInitDialog(), CDownloadEditDlg::OnInitDialog(), CDownloadDlg::OnInitDialog(), CDonkeyServersDlg::OnInitDialog(), CDonkeyImportDlg::OnInitDialog(), CDiscoveryServiceDlg::OnInitDialog(), CDeleteFileDlg::OnInitDialog(), CDecodeMetadataDlg::OnInitDialog(), CConnectToDlg::OnInitDialog(), CCollectionExportDlg::OnInitDialog(), CCloseModeDlg::OnInitDialog(), CBitziDownloadDlg::OnInitDialog(), CAboutDlg::OnInitDialog(), CSettingsManagerDlg::OnSkinChange(), CFilePreviewDlg::OnSkinChange(), and CDownloadMonitorDlg::OnSkinChange().


Member Data Documentation

CSkinWindow* CSkinDialog::m_pSkin [protected]
 

Definition at line 48 of file DlgSkinDialog.h.

Referenced by OnEraseBkgnd(), OnNcActivate(), OnNcCalcSize(), OnNcHitTest(), OnNcLButtonDblClk(), OnNcLButtonDown(), OnNcLButtonUp(), OnNcMouseMove(), OnNcPaint(), OnSetText(), OnSize(), CSettingsManagerDlg::OnSkinChange(), CFilePreviewDlg::OnSkinChange(), CDownloadMonitorDlg::OnSkinChange(), and SkinMe().


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