picedit.h

来自「无线图象监控系统(用VC++编程)用数据库ACCESS存储图象」· C头文件 代码 · 共 76 行

H
76
字号
#if !defined(AFX_PICEDIT_H__825BEBD8_835C_442A_AEF6_1F0C54F40E06__INCLUDED_)
#define AFX_PICEDIT_H__825BEBD8_835C_442A_AEF6_1F0C54F40E06__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPicEdit dialog

class CPicEdit : public CDialog
{
// Construction
public:
	CPicEdit(CWnd* pParent = NULL); 
	CBrush m_brush;// standard constructor
    BOOL tuzhang;
	BOOL srcselect;
	CPoint srcpoint;
	CPoint dstpoint;
	CPoint linepoint;
	CDib bkdib;
	UINT drawtype;
	CPoint rectop;
    CPoint recbottom;
	BOOL rectopsel;
	CRect object;
	CRect objectscreen;
	int first;
	int minsize;
// Dialog Data
	//{{AFX_DATA(CPicEdit)
	enum { IDD = IDD_PICEDIT };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPicEdit)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPicEdit)
	afx_msg void OnPaint();
	afx_msg void OnClose();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	virtual BOOL OnInitDialog();
	afx_msg void OnTuzhang();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnSave();
	afx_msg void OnRectange();
	afx_msg void OnPen();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnOk();
	afx_msg void OnFinish();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PICEDIT_H__825BEBD8_835C_442A_AEF6_1F0C54F40E06__INCLUDED_)

⌨️ 快捷键说明

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