如何在C ++中的WebKitX ActiveX控件中设置点击事件

问题描述 投票:0回答:1

我正在使用WebKitX ActiveX控件在MFC对话框中显示网页。现在,我想为相同设置点击事件。我正在使用以下代码设置点击事件:

m_ctrlWebKit.SetEvents(m_ctrlWebKit.DOM_EVENT_CLICK || m_ctrlWebKit.DOM_EVENT_DBLCKICK);

但是当我单击网页时,我总是只获得单击事件,而不是双击。谁能告诉我该怎么做。

c++ webkit activex
1个回答
0
投票

WebKitX-C ++入门https://www.webkitx.com/doc/light/Getting%20Started%20with%20CPP.html

我希望这会有所帮助!

© www.soinside.com 2019 - 2024. All rights reserved.