00001 // ViewPage.h: interface for the ViewPage class. 00002 // 00004 00005 #if !defined(AFX_VIEWPAGE_H__0543E7D1_08C0_4F9F_908A_69C86AC2FC09__INCLUDED_) 00006 #define AFX_VIEWPAGE_H__0543E7D1_08C0_4F9F_908A_69C86AC2FC09__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "PropertyPage.h" 00013 00014 class ViewPage : public PropertyPage 00015 { 00016 public: 00017 ViewPage(const LOGFONT& lf,bool viewWhois,bool bAbuseDetails,const Init& init=Init()); 00018 virtual ~ViewPage(); 00019 bool isFontChanged()const 00020 { 00021 return m_bFontChanged; 00022 } 00023 const LOGFONT& getLogFont()const 00024 { 00025 return m_lf; 00026 } 00027 const bool viewWhois()const 00028 { 00029 return m_bViewWhois; 00030 } 00031 const bool viewAbuseDetails()const 00032 { 00033 return m_bAbuseDetails; 00034 } 00035 protected: 00036 virtual BOOL PropPageProc(UINT uMsg,WPARAM wP,LPARAM lP); 00037 private: 00038 LOGFONT m_lf; 00039 bool m_bFontChanged; 00040 bool m_bViewWhois; 00041 bool m_bAbuseDetails; 00042 HFONT m_hFont; 00043 void setNewFont(); 00044 00045 }; 00046 00047 #endif // !defined(AFX_VIEWPAGE_H__0543E7D1_08C0_4F9F_908A_69C86AC2FC09__INCLUDED_)