如何在Mfc浏览器控件中实现搜索功能 [英] How Do I Implement Search Functionality In Mfc Browser Control

查看:299
本文介绍了如何在Mfc浏览器控件中实现搜索功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个装有URL的网页浏览器控件,



当我输入一个关键字并点击搜索时,那么与输入相匹配的单词应突出显示浏览器控制,



我设计了自己的用户界面,其文本归档为:关键字,按钮和浏览器控件。



当我在文本字段中输入关键字并点击搜索按钮时,匹配的单词将在浏览器控件中突出显示。



它类似于Internet Explorer中的查找功能( CTRL + F),

我们可以在网络浏览器控件中实现相同的功能,MFC中是否有任何功能可以做到这一点?







谢谢,

I have a web browser control loaded with a URL,

When i type a keyword and click on search,then words matching with the input should be highlighted in browser control,

I designed my own user interface with a text filed for:keyword,button and browser control.

When i input keyword in text filed and click on search button the matched words to be highlighted in browser control.

Its like find functionality in Internet Explorer(CTRL + F),
Can we implement the same in web browser control,Is there any function in MFC for doing that??



Thank You,

推荐答案

这篇关于如何在Mfc浏览器控件中实现搜索功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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