PreviewDlg.h
上传用户:yatsl7111
上传日期:2007-01-08
资源大小:1433k
文件大小:2k
- #if !defined(AFX_PREVIEWDLG_H__DE461E21_A80F_11D4_815D_00D0B79C40FB__INCLUDED_)
- #define AFX_PREVIEWDLG_H__DE461E21_A80F_11D4_815D_00D0B79C40FB__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PreviewDlg.h : header file
- //
- #include "..publicgol_proc.h" // added by lzg 2000.10.10
- #include "vfw.h" // for drawlib
- /////////////////////////////////////////////////////////////////////////////
- // CPreviewDlg dialog
- class CPreviewDlg : public CDialog
- {
- // Construction
- public:
- HDRAWDIB hdd;
- void SendPreviewImage(LPIMAGEPROCSTR lpInfo);
- LPIMAGEPROCSTR m_lpInfo;
- CPreviewDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CPreviewDlg)
- enum { IDD = IDD_DIALOG_MOSAIC_PREVIEW };
- CSliderCtrl m_tracebar;
- int m_iMosaic_Unit;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPreviewDlg)
- public:
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CPreviewDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- afx_msg void OnPaint();
- virtual void OnOK();
- virtual void OnCancel();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- LPBITMAPINFO m_lpbi;
- BITMAPINFO bi;
- CRect *m_pRect;
- float m_zoom;
- int m_Ox, m_Oy, m_Preview_width,m_Preview_height;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PREVIEWDLG_H__DE461E21_A80F_11D4_815D_00D0B79C40FB__INCLUDED_)