📄 sampledemodlg.h
字号:
// SampleDemoDlg.h : header file
//
#if !defined(AFX_SAMPLEDEMODLG_H__45559E5F_124D_41C2_92E3_6B83B9DD92F4__INCLUDED_)
#define AFX_SAMPLEDEMODLG_H__45559E5F_124D_41C2_92E3_6B83B9DD92F4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSampleDemoDlg dialog
class CSampleDemoDlg : public CDialog
{
// Construction
public:
CSampleDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSampleDemoDlg)
enum { IDD = IDD_SAMPLEDEMO_DIALOG };
CStatic m_img_feature;
CStatic m_img;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSampleDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
enum CommandType
{
Smooth = 0,
Converge,
Grad,
Orient,
Enhance,
Segmentation,
Binary,
Thin,
Equalization
};
void Process(CommandType command);
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSampleDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOLEStartDragMschart1(LPDISPATCH FAR* Data, long FAR* AllowedEffects);
afx_msg void OnButtonOpen();
afx_msg void OnButtonSaveAs();
afx_msg void OnBUTTONSmooth();
afx_msg void OnButtonConverge();
afx_msg void OnButtonGrad();
afx_msg void OnButtonOrientation();
afx_msg void OnButtonEnhance();
afx_msg void OnButtonBinary();
afx_msg void OnButtonSegment();
afx_msg void OnButtonThin();
afx_msg void OnButtonFeature();
afx_msg void OnButtonEqualization();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SAMPLEDEMODLG_H__45559E5F_124D_41C2_92E3_6B83B9DD92F4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -