#if !defined(AFX_PREVIEWDLG_H__AEE8E213_E1D2_4F2E_BE0A_0FC63F32807C__INCLUDED_) #define AFX_PREVIEWDLG_H__AEE8E213_E1D2_4F2E_BE0A_0FC63F32807C__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif #include "ShowPicStatic2.h" #include "HyperLink.h" class PreviewDlg : public CDialog { CStringArray m_patharray; BOOL m_bMin; int m_pos; int m_npages; int m_ncurpage; ShowPicStatic2 m_picctrl[7]; CHyperLink m_link1; CHyperLink m_link2; CHyperLink m_link3; public: void ShowPic2(); void NextPage(); void PrePage(); void ShowPic(int pos); void LinkClick(CString str); void ShowNormal(); void ShowMin(); SolidBrush *g_pBlackBrush; SolidBrush *g_pRedBrush; void InitCtrl(); PreviewDlg(CWnd* pParent = NULL); // standard constructor CStringArray *m_pPathArray; enum { IDD = IDD_DIALOG30 }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support protected: virtual BOOL OnInitDialog(); afx_msg void OnDestroy(); afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); DECLARE_MESSAGE_MAP() }; #endif