Hello guys,
I have a main window created with :
if (!fullscreen)
{
wStyle = WS_OVERLAPPED | WS_BORDER | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_CLIPCHILDREN;
wExStyle = WS_EX_TOPMOST;
}
else
{
wStyle = WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN;
wExStyle = WS_EX_TOPMOST;
}
I have also a child window created runtime with :
wStyle = WS_VISIBLE | WS_POPUP | WS_CHILD;
wExStyle = WS_EX_TOPMOST;
Everything is going well when I am not in fullscreen. (i.e. The child window is well displayed on top of the parent window.)
But, when I am on fullscreen mode, the parent window is painted over the child window which cause an awful flickering.
How to set properties to the main and the child window in order to display well the child window, even in fullscreen mode ?
Thanks in advance for all your answers.