GetViewRect and CefRect

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.

GetViewRect and CefRect

Postby Staxcelrom » Mon May 23, 2022 2:50 pm

Hello,

Can you please tell me what the CefRect.x and CefRect.y values in CefRect affect when I return them from GetViewRect ?

I tried to change them, but the browser image itself in memory does not change. I don't understand what these values mean.
Staxcelrom
Expert
 
Posts: 206
Joined: Wed Jan 26, 2022 8:20 am

Re: GetViewRect and CefRect

Postby magreenblatt » Mon May 23, 2022 2:54 pm

They are the view location on the screen. Relevant for things like UI events that use screen coords.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 55 guests