none
关于vc2010中的edit control 控件多行的问题 RRS feed

  • 问题

  • 这个控件可以有多行功能,如果想使用它的多行功能,是不是一定要用函数创建这个控件呢?如果不是应该怎么做呢,请前辈指教。
    2013年8月16日 8:35

答案

  • 编辑框控件设置Want Return属性

    Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.

    2013年8月19日 1:30
    版主

全部回复

  • 编辑框控件设置Multi-line属性。
    可以在对话框资源编辑器窗口中,从toolbox上拖放一个Edit Control到对话框模板上,设置编辑框的一些属性

    Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.

    2013年8月16日 10:53
    版主
  • 多谢指点,但是我需要的是只有回车才会换行,不能自己换行。
    2013年8月17日 0:26
  • 编辑框控件设置Want Return属性

    Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.

    2013年8月19日 1:30
    版主