Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Problem with OnCursorChange

Post Reply
ForumReader
Posts: 8
Joined: Wed Mar 18, 2020 4:18 am

Problem with OnCursorChange

Post by ForumReader »

Hello.
I'm using dcef not in OSR mode, just simple browser.
I need detect cursor change - when user move cursor on some page elements.
But event OnCursorChange not activating at all :(
How I can catch this event?
Thanks.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Problem with OnCursorChange

Post by salvadordf »

That event is triggered by CefRenderHandler which is created in OSR mode only.

I haven't tried but perhaps you can use the Windows API to get the cursor info :
https://docs.microsoft.com/en-us/window ... cursorinfo
Post Reply