#if !defined(AFX_BMPRECT_H__AB293E75_103E_11D3_9A58_0060087C0C73__INCLUDED_) #define AFX_BMPRECT_H__AB293E75_103E_11D3_9A58_0060087C0C73__INCLUDED_ #include "Global.h" // Added by ClassView #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // BmpRect.h : header file // ///////////////////////////////////////////////////////////////////////////// // CBmpRect dialog class CBmpRect : public CDialog { // Construction public: CBmpRect(CWnd* pParent = NULL, LPBMPRECTDLGDATA lpBmpRectDlgData = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CBmpRect) enum { IDD = IDD_PAINTRECT }; CButton m_ctrlWindowErase; CButton m_ctrlNewErase; CButton m_ctrlDispNormal; CButton m_ctrlDispScaleToGray; CButton m_ctrlDispFavorBlack; int m_iDestBottom; int m_iDestClipBottom; int m_iDestClipLeft; int m_iDestClipRight; int m_iDestClipTop; int m_iDestLeft; int m_iDestRight; int m_iDestTop; CString m_strHeight; int m_iSrcBottom; int m_iSrcClipBottom; int m_iSrcClipLeft; int m_iSrcClipRight; int m_iSrcClipTop; int m_iSrcLeft; int m_iSrcRight; int m_iSrcTop; CString m_strWidth; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CBmpRect) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CBmpRect) virtual BOOL OnInitDialog(); afx_msg void OnDispNormal(); afx_msg void OnDispScaletogray(); afx_msg void OnDispFavorblack(); afx_msg void OnNewerase(); afx_msg void OnWindowerase(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: CString IntToText(L_INT); // Convert integer to string LPBMPRECTDLGDATA m_lpBmpRectDlgData; // Current data structure }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_BMPRECT_H__AB293E75_103E_11D3_9A58_0060087C0C73__INCLUDED_)