How to notify the OSR browser that it has been moved?

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.

How to notify the OSR browser that it has been moved?

Postby vmas » Sun Mar 15, 2020 8:29 am

Hi,

How to properly notify the OSR browser that the parent window has been moved and the rectangles returned by GetViewRect() and GetRootScreenRect() have a new location? I called NotifyMoveOrResizeStarted() and WasResized(), but this does not change screenX and screenY. Calling NotifyScreenInfoChanged() updates screenX and screenY, but sometimes it is buggy with the position of the rectangle returned by GetViewRect().
Maintainer of the CefNet project.
vmas
Techie
 
Posts: 13
Joined: Mon Feb 24, 2020 4:03 am

Return to Support Forum

Who is online

Users browsing this forum: kimcey, Majestic-12 [Bot] and 45 guests