浏览器标签 [英] browser tab
本文介绍了浏览器标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我按下MFC应用程序中的按钮时,如何从该应用程序中关闭浏览器选项卡(例如,Opera).
How can I close a browser tab (Opera for ex.) from a MFC application, when I press a button from that application.
推荐答案
您" d必须阅读浏览器的文档,但是我怀疑这很容易做到,我认为您必须找到X按钮的窗口句柄并向其发送消息以单击它.
You''d have to read the documentation for the browser, but I doubt this is easy to do, you''d have to find the window handle of the X button and send it a message to click it, I reckon.
这篇关于浏览器标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文