- solidgraph_sources.zip
- solidgraph_sources
- ArMaX
- Boolean
- CxImage
- Debug
- DraftTemplates
- DT1.sdt
- DT2.sdt
- sgCore.dll
- ExGUILib
- jpeg
- Kinematic
- lua
- MaterialsEditor
- png
- Release
- sgCore.dll
- Scripts
- boxes.sgs
- circles.sgs
- cones.sgs
- cylinders.sgs
- ellipsoids.sgs
- lines.sgs
- points.sgs
- print.sgs
- Script.sgs
- spBands.sgs
- spheres.sgs
- toruses.sgs
- sgCore
- Solidgraph.sln
- Solidgraph
- SplashLib
- Standard2D
- arc.bmp
- circ.bmp
- Commands
- Dialogs
- line.bmp
- path.bmp
- pnt.bmp
- ReadMe.txt
- res
- circ_3p.bmp
- circ_c_r.bmp
- circ_edit_cen.bmp
- circ_edit_norm.bmp
- circ_edit_rad.bmp
- line_arc_end.bmp
- line_arc_perpendic_end.bmp
- line_edit.bmp
- line_line_extension.bmp
- line_line_perpendic_end.bmp
- line_point_increment.bmp
- line_point_vector.bmp
- line_two_points.bmp
- pnt_edit.bmp
- Spline_edit.bmp
- Standard2D.rc2
- resource.h
- spl.bmp
- Standard2D.cpp
- Standard2D.def
- Standard2D.rc
- Standard2D.vcproj
- StdAfx.cpp
- StdAfx.h
- toolbar.bmp
- toolbarBMP.bmp
- toolbarBMPOld.bmp
- Standard3D
- Surfaces
- tiff
- zlib
- solidgraph_bin.zip
- solidgraph_bin
- DraftTemplates
- DT1.sdt
- DT2.sdt
- Plugins
- Boolean.ppl
- Kinematic.ppl
- Standard2D.ppl
- Standard3D.ppl
- Surfaces.ppl
- sgCore.dll
- Solidgraph.exe
- SplashLib.dll
|
#if !defined(AFX_NUMEDIT_H__7482F7FF_A479_11D2_A6A7_00600844997A__INCLUDED_)
#define AFX_NUMEDIT_H__7482F7FF_A479_11D2_A6A7_00600844997A__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// NumEdit.h : header file
//
#include <math.h>
/////////////////////////////////////////////////////////////////////////////
// CNumEdit window
//#ifndef CLASS_EXPORT
// #define CLASS_EXPORT
//#endif
//class CLASS_EXPORT CNumEdit : public CEdit
class CNumEdit : public CEdit
{
DECLARE_DYNCREATE(CNumEdit)
// Construction
public:
CNumEdit();
// Attributes
public:
enum {VALID = 0x00, OUT_OF_RANGE = 0x01, INVALID_CHAR = 0x02, MINUS_PLUS = 0x03};
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNumEdit)
//}}AFX_VIRTUAL
// Implementation
public:
virtual void ChangeAmount(int step);
virtual float GetDelta();
virtual void SetDelta(float delta);
virtual void GetRange(float &min, float &max)const;
virtual void SetRange(float min, float max);
virtual void Verbose(BOOL v);
virtual BOOL Verbose()const;
virtual int IsValid()const;
virtual int IsValid(const CString &str)const;
virtual BOOL SetValueX(float val);
virtual float GetValueX()const;
virtual ~CNumEdit();
// Generated message map functions
protected:
virtual CString& ConstructFormat(CString &str, float num);
BYTE m_NumberOfNumberAfterPoint;
BOOL m_Verbose;
float m_Delta, m_MinValue, m_MaxValue;
//{{AFX_MSG(CNumEdit)
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NUMEDIT_H__7482F7FF_A479_11D2_A6A7_00600844997A__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.