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

WizardSheet.h

Go to the documentation of this file.
00001 //
00002 // WizardSheet.h
00003 //
00004 // Copyright (c) Shareaza Development Team, 2002-2005.
00005 // This file is part of SHAREAZA (www.shareaza.com)
00006 //
00007 // Shareaza is free software; you can redistribute it
00008 // and/or modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2 of
00010 // the License, or (at your option) any later version.
00011 //
00012 // Shareaza is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 //
00017 // You should have received a copy of the GNU General Public License
00018 // along with Shareaza; if not, write to the Free Software
00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 //
00021 
00022 #if !defined(AFX_WIZARDSHEET_H__E2500C10_98B2_48B0_9165_975E5444679A__INCLUDED_)
00023 #define AFX_WIZARDSHEET_H__E2500C10_98B2_48B0_9165_975E5444679A__INCLUDED_
00024 
00025 #pragma once
00026 
00027 class CSkinWindow;
00028 
00029 
00030 class CWizardSheet : public CPropertySheet
00031 {
00032 // Construction
00033 public:
00034         CWizardSheet(CWnd *pParentWnd = NULL, UINT iSelectPage = 0);
00035         virtual ~CWizardSheet();
00036 
00037 // Attributes
00038 public:
00039         CRect                   m_rcPage;
00040         CBitmap                 m_bmHeader;
00041         CSkinWindow*    m_pSkin;
00042 
00043 // Operations
00044 public:
00045         static BOOL     RunWizard(CWnd* pParent = NULL);
00046 
00047 // Implementation
00048 public:
00049         DECLARE_MESSAGE_MAP()
00050         virtual BOOL OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
00051         virtual BOOL OnInitDialog();
00052         afx_msg void OnPaint();
00053         afx_msg BOOL OnEraseBkgnd(CDC* pDC);
00054         afx_msg void OnSize(UINT nType, int cx, int cy);
00055         afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp);
00056         afx_msg UINT OnNcHitTest(CPoint point);
00057         afx_msg BOOL OnNcActivate(BOOL bActive);
00058         afx_msg void OnNcPaint();
00059         afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
00060         afx_msg void OnNcLButtonUp(UINT nHitTest, CPoint point);
00061         afx_msg void OnNcLButtonDblClk(UINT nHitTest, CPoint point);
00062         afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
00063         afx_msg LONG OnSetText(WPARAM wParam, LPARAM lParam);
00064 
00065 };
00066 
00067 
00068 class CWizardPage : public CPropertyPage
00069 {
00070 // Construction
00071 public:
00072         CWizardPage(UINT nID = 0);
00073         virtual ~CWizardPage();
00074 
00075         DECLARE_DYNCREATE(CWizardPage)
00076 
00077 // Attributes
00078 public:
00079         COLORREF        m_crWhite;
00080         CBrush          m_brWhite;
00081 
00082 // Operations
00083 public:
00084         CWizardSheet*   GetSheet();
00085         void                    SetWizardButtons(DWORD dwFlags);
00086         void                    StaticReplace(LPCTSTR pszSearch, LPCTSTR pszReplace);
00087 
00088 // Implementation
00089 protected:
00090         DECLARE_MESSAGE_MAP()
00091         afx_msg void OnSize(UINT nType, int cx, int cy);
00092         afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
00093 
00094 };
00095 
00096 #endif // !defined(AFX_WIZARDSHEET_H__E2500C10_98B2_48B0_9165_975E5444679A__INCLUDED_)

Generated on Thu Dec 15 10:39:51 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2