想要:具有搜索/替换功能的MFC控件,如CEdit [英] Wanted: MFC control like CEdit with search/replace

查看:175
本文介绍了想要:具有搜索/替换功能的MFC控件,如CEdit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我所需要的只是一个简单的MFC控件,基本上类似于CEdit,但支持搜索和替换.仅纯文本,无格式.它需要在一个对话框中工作(不是作为doc/view框架的一部分),我确信这个轮子必须已经被发明了很多次,但是一直没有在Web上寻找有用的代码. Microsoft的文档说您可以使用CEditView来实现此目的,尽管他们没有说明如何使用.

All I''m after is a simple MFC control that is basically like CEdit but supports search and replace. Plain text only, no formatting. It needs to work in a dialog box (NOT as part of doc/view framework) I was sure that this wheel must have been invented many times, but have been unsuccessfully scouring the Web for useful code. Microsoft''s documentation says that you can use CEditView for this purpose, though they don''t say how.

推荐答案

我不确定这是否符合您的目标,但我认为值得一看: https://github.com/yaukeywang/GUSIconEdit [ ^ ]

该项目似乎有些被放弃,但是我对此感到很好奇,因此我可能会尝试使示例运行.作者在这些CodeProject文章上发布了消息,让作者知道他将他们的工作纳入了他的著作.
类似查找编辑控件"的iTunes [没有IAutoComplete的自动填充 [
I am not sure if this matches your goal, but I think it is worth taking a look at: https://github.com/yaukeywang/GUSIconEdit[^]

The project appears to be somewhat abandoned, but I am curious about it so I might try to get the sample running. The author posted messages on these CodeProject articles, letting the authors know that he incorporated their work into his.
iTunes like Find Edit Control[^]
AutoComplete without IAutoComplete[^]

Soren Madsen


这篇关于想要:具有搜索/替换功能的MFC控件,如CEdit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆