?? intensitydlg.h
字號:
#if !defined(AFX_INTENSITYDLG_H__D5738153_7255_4857_99CC_68DC5B587A64__INCLUDED_)
#define AFX_INTENSITYDLG_H__D5738153_7255_4857_99CC_68DC5B587A64__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// IntensityDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CIntensityDlg dialog
class CIntensityDlg : public CDialog
{
// Construction
public:
CIntensityDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
public:
// 當前鼠標拖動狀態,0表示未拖動,1表示正在拖動下限,2表示正在拖動上限。
int m_iIsDraging;
CRect m_MouseRect; // 相應鼠標事件的矩形區域
LONG m_lHeight; // DIB的高度
LONG m_lWidth; // DIB的寬度
char * m_lpDIBBits; // 指向當前DIB象素的指針
LONG m_lCount[256]; // 各個灰度值的計數
//{{AFX_DATA(CIntensityDlg)
enum { IDD = IDD_DLG_INTENSITY };
int m_iLowGray; // 顯示灰度區間的下限
int m_iUpGray; // 顯示灰度區間的上限
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIntensityDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CIntensityDlg)
afx_msg void OnPaint();
afx_msg void OnKillfocusEDITLowGray();
afx_msg void OnKillfocusEDITUpGray();
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INTENSITYDLG_H__D5738153_7255_4857_99CC_68DC5B587A64__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -