snapdialog.h

来自「C++编程100例」· C头文件 代码 · 共 44 行

H
44
字号
#if !defined(AFX_SNAPDIALOG_H__2A496EAC_76E9_11D4_BD73_000021479D21__INCLUDED_)
#define AFX_SNAPDIALOG_H__2A496EAC_76E9_11D4_BD73_000021479D21__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSnapDialog dialog

class CSnapDialog : public CDialog
{
// Construction
public:
	CSnapDialog(UINT IDD, CWnd* pParent = NULL);   // standard constructor

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSnapDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	afx_msg void OnWindowPosChanging( WINDOWPOS* lpwndpos );
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CSnapDialog)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
// Attributes
public:
	int m_nEdgeSnapGap;

	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SNAPDIALOG_H__2A496EAC_76E9_11D4_BD73_000021479D21__INCLUDED_)

⌨️ 快捷键说明

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