12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #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 // _MSC_VER > 1000
- // PreviewDlg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // PreviewDlg dialog
- #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;
- // Construction
- 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;
- // Dialog Data
- //{{AFX_DATA(PreviewDlg)
- enum { IDD = IDD_DIALOG30 };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(PreviewDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(PreviewDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnDestroy();
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PREVIEWDLG_H__AEE8E213_E1D2_4F2E_BE0A_0FC63F32807C__INCLUDED_)
|