www.pudn.com > NumericEdit_Demo.rar > NumericEditTestDlg.h


#pragma once 
 
#include "NumericEdit.h" 
#include "afxwin.h" 
#include "afxcmn.h" 
 
// CNumericEditTestDlg dialog 
 
class CNumericEditTestDlg : public CDialog 
{ 
// Construction 
public: 
	CNumericEditTestDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	enum { IDD = IDD_NUMERICEDITTEST_DIALOG }; 
 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
 
// Implementation 
protected: 
	HICON m_hIcon; 
  CNumericEdit m_Edit1; 
 
	// Generated message map functions 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	DECLARE_MESSAGE_MAP() 
public: 
  afx_msg void OnBnClickedCheck1(); 
  afx_msg void OnBnClickedBtnSetminmax(); 
  CEdit m_edtValue; 
  CSpinButtonCtrl m_spnMin; 
  CSpinButtonCtrl m_spnMax; 
  CEdit m_edtSetValue; 
  afx_msg void OnBnClickedBtnSetvalue(); 
  afx_msg LRESULT OnNumericEditChange(WPARAM,LPARAM); 
  CSpinButtonCtrl m_spnSetValue; 
  afx_msg void OnBnClickedChkPopup(); 
  afx_msg void OnBnClickedChkSpin(); 
  afx_msg void OnBnClickedChkLiveupdate(); 
  afx_msg void OnBnClickedChkMeter(); 
};