⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spindlg.h

📁 一个自定义的SPIN控件
💻 H
字号:
#if !defined(AFX_SPINDLG_H__ED9FF25B_8ECC_46E6_B9EC_5E836B60FABC__INCLUDED_)
#define AFX_SPINDLG_H__ED9FF25B_8ECC_46E6_B9EC_5E836B60FABC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SpinDlg.h : header file
//
#include "spinedit.h"
/////////////////////////////////////////////////////////////////////////////
// CSpinDlg dialog

class CSpinDlg : public CDialog
{
// Construction
public:
	CSpinDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSpinDlg)
	enum { IDD = IDD_DLGSPINEDITCTRL };
	BOOL	m_bNeedText;
	CString	m_strExtraText;
	double	m_dbMax;
	double	m_dbMin;
	BYTE	m_bPos;
	double	m_dbStep;
	int		m_nDataType;
	//}}AFX_DATA
	CSpinEdit m_SpinEdit;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSpinDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSpinDlg)
	afx_msg void OnRadioint();
	afx_msg void OnRadiofloat();
	afx_msg void OnRadiodouble();
	afx_msg void OnBtnapplyparam();
	afx_msg void OnChecktext();
	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_SPINDLG_H__ED9FF25B_8ECC_46E6_B9EC_5E836B60FABC__INCLUDED_)

⌨️ 快捷键说明

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