联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Numeric edit and numeric spin controls - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    In my application I needed an edit control which accepts only numeric numbers. In many science applications this is indispensable, but it is actually not implemented in MS-Visual C/C++. It is not difficult to implement this control and I see that some people implemented it. In my own code, some new features were enriched as error messages and range defines, etc.
    Note: to use the CNumEdit class properly, the ES_NUMBER, ES_MULTILINE must not be set.

    Another control added in my work is CNumSpinCtrl which enables using a spin control as a numeric one which is also not implemented in MFC.

    在我的应用程序中需要一个只能接受数字的编辑框。在许多应用程序中这种功能是很常见的,但 MS-Visual C/C++没有实现这一功能。实现这一控件不难,我见过其它人实现了它。在我的代码中增加了一些新功能,如错误消息,范围定义,等等。
    注意:为了使用 CNumEdit ,不通设置 ES_NUMBER, ES_MULTILINE。
    另一个增加的控件是 CNumSpinCtrl ,可以使用一个滑标控件作为数字输入器,它没有在MFC中实现。
    来源: http://www.codeguru.com/editctrl/NumericSpin.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    NumericSpin  1.0  2004-04-17 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/editctrl/NumericSpin_demo.zip

      » 合 作 伙 伴