Page 1 of 1

Cefclient fullscreen mode issues

PostPosted: Fri Dec 30, 2016 4:33 am
by SomeDev
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