⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zoomindlg.h

📁 影像融合与融合精度评价源码影像融合与融合精度评价源码
💻 H
字号:
//{{AFX_INCLUDES()

//}}AFX_INCLUDES
#if !defined(AFX_ZOOMINDLG_H__73877C99_6A31_4E4F_A645_55FE0E1CF787__INCLUDED_)
#define AFX_ZOOMINDLG_H__73877C99_6A31_4E4F_A645_55FE0E1CF787__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ZoomInDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CZoomInDlg dialog

#define  WM_REDRAWZOOMIN    WM_USER+14

class CMYFUSIONView;

class CZoomInDlg : public CDialog
{
// Construction
public:
	CZoomInDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CZoomInDlg();

	CPoint  DIBInMid;
	BOOL    bMoveWithMouse;
	BOOL    bRedrawControl;
	BOOL	bpbmpChanged;
	BOOL        bIndest;
	CMYFUSIONView   * pView;

// Dialog Data
	//{{AFX_DATA(CZoomInDlg)
	enum { IDD = IDD_ZOOMIN_DLG };
	CComboBox	m_ZoomCombo;
	CString	m_ZoomStr;
	CString m_PointInfo;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CZoomInDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnOK();
	virtual void OnCancel();
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	HCURSOR		m_ImageMeasure;
	CSize       DocSize;             //view_image size
	BOOL        bActiveView;         //有无图像显示
	CBitmap *   pbmp;
	CSize       bmpSize;
	int         ZoomInZoom;
	BOOL        bInit;
	BOOL        bEditChanged; 

	CRect       rcDIB;
	CRect       rcDest;
	CRect       rcDestTheory;

	// Generated message map functions
	//{{AFX_MSG(CZoomInDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnClose();
	afx_msg void OnPaint();
	afx_msg void OnDefaultSizeZoomIn();
	afx_msg void OnDefaultLocationZoomIn();
	afx_msg void OnHideZoomZInDlg();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnSelchangeZoomCombo();
	afx_msg void OnEditchangeZoomCombo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	afx_msg void RedrawZoomIn();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ZOOMINDLG_H__73877C99_6A31_4E4F_A645_55FE0E1CF787__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -