简体   繁体   中英

How to set click events in WebKitX ActiveX control in C++

I am using WebKitX ActiveX control for displaying web page in MFC Dialog. Now i want to set click events for same. I am setting click events using below code :

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

But when i click on web page i always get only click event not double click. So can anyone tell me how to do it.

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

I hope this helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM