📄 picedit.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -