?? dlglinerpara.h
字號:
#if !defined(AFX_DLGLINERPARA_H__CA65EBE3_E61B_4E4B_9C27_716F1FD13500__INCLUDED_)
#define AFX_DLGLINERPARA_H__CA65EBE3_E61B_4E4B_9C27_716F1FD13500__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgLinerPara.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgLinerPara dialog
class CDlgLinerPara : public CDialog
{
// Construction
public:
// 標識是否已經(jīng)繪制橡皮筋線
BOOL m_bDrawed;
// 保存鼠標左鍵單擊時的位置
CPoint m_p1;
// 保存鼠標拖動時的位置
CPoint m_p2;
// 當前鼠標拖動狀態(tài),TRUE表示正在拖動。
BOOL m_bIsDraging;
// 相應鼠標事件的矩形區(qū)域
CRect m_MouseRect;
CDlgLinerPara(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgLinerPara)
enum { IDD = IDD_DLG_LinerPara };
// 線性變換的斜率
float m_fA;
// 線性變換的截距
float m_fB;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgLinerPara)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgLinerPara)
afx_msg void OnPaint();
afx_msg void OnKillfocusEditA();
afx_msg void OnKillfocusEditB();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGLINERPARA_H__CA65EBE3_E61B_4E4B_9C27_716F1FD13500__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -