Any way to set the focus state of CefDomNode??

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Any way to set the focus state of CefDomNode??

Postby king » Mon Oct 14, 2019 5:07 am

Hi
I have a need to set the focus state of the current focused dom node to un focused, I am able to get the focus node via "virtual CefRefPtr< CefDOMNode > GetFocusedNode()" But i cannot find a api which can help set the focus state of the dom node. Anyone knows how? Does cef support this?
thanks
king
Techie
 
Posts: 18
Joined: Wed Nov 14, 2018 3:41 am

Re: Any way to set the focus state of CefDomNode??

Postby anlumo » Mon Oct 14, 2019 7:23 pm

You could do it via some injected JavaScript with V8Context::Eval().
anlumo
Techie
 
Posts: 14
Joined: Wed Aug 28, 2019 5:34 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 200 guests