Cefclient fullscreen mode issues

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.

Cefclient fullscreen mode issues

Postby SomeDev » Fri Dec 30, 2016 4:33 am

Hi!
I have build cefclient with some customization: I starts it in fullscreen mode and has drop down menu from the right (just like charm panel in window 8).
To handle mouse event I place 1 pixel-width panel - child window in main window (whose style is WS_POPUP)
The panel handles WM_TRACK, WM_MOUSELEAVE, WM_MOUSEHOVER and stretchs and shrinks, as expected.
I tried it with different online cinemas - play movies inside my application in fullscreen mode (it's fullscreen inside fullscreen)
Netflix and Amazon works fine.
Youtube and Amediateka.ru have similar issue (see attachments):
1) taskbar is over application.
2) player menu is partly out of the screen.
3) my panel top is over player's screen top. (see third attachment)

I think something goes in coordinates calculation.
In OnFullscreenModeChange event handler there is only access to CefBrowser, so I think it's not what I need.
How can I solve this problems?

UPDATE #1: My screen resolution is 3840x2160, but when I call GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN) result is 3839x2247.
UPDATE #2: Windows 8.1 x64, localy compiled CEF version 3.2883.1540
Attachments
third.png
third.png (458.49 KiB) Viewed 3117 times
second.png
second.png (354.87 KiB) Viewed 3117 times
first.png
first.png (1.01 MiB) Viewed 3117 times
SomeDev
Newbie
 
Posts: 7
Joined: Wed Nov 23, 2016 2:45 am

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], salvadordf and 40 guests