SendFocusEvent was gone

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.

SendFocusEvent was gone

Postby ifbao » Tue Aug 15, 2023 6:16 am

when i upgraded my cef from 90 to 109, i found the SendFocusEvent interface in CefBrowserHost was gone.
///
// Send a focus event to the browser.
///
/*--cef()--*/
virtual void SendFocusEvent(bool setFocus) = 0;


how abou why we removed the interface ?

:D :D :D
ifbao
Techie
 
Posts: 13
Joined: Wed Jun 30, 2021 9:53 pm

Re: SendFocusEvent was gone

Postby magreenblatt » Tue Aug 15, 2023 7:54 am

Use SetFocus, it is the same.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: SendFocusEvent was gone

Postby ifbao » Tue Aug 15, 2023 10:17 pm

thank you very much
ifbao
Techie
 
Posts: 13
Joined: Wed Jun 30, 2021 9:53 pm

Re: SendFocusEvent was gone

Postby ifbao » Wed Aug 16, 2023 3:34 am

I haven't seen the SetFocus Interface in CefBrowserHost。

you mean use the system api ::SetFocus ?
ifbao
Techie
 
Posts: 13
Joined: Wed Jun 30, 2021 9:53 pm

Re: SendFocusEvent was gone

Postby magreenblatt » Wed Aug 16, 2023 10:45 am

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 191 guests