Hy all
i work on Windows …
i have this issue …
i use a software that copy part of screen and send data to a controler thats dispatch picture data to some LED SCREEN.
in fact it is a window i can move on my desktop, Picturethat is under this window is displayed on the screen. ( i call it the COPYSCREEN Window )
i works perfectly well with all application , except windows created with OF, when i have a refresh of the OF windows , the COPYSCREEN window get under the OF one, and my OF window is not displayed on the LED screen.
After testing, it seems that all OPENGL stuff i tested react the same way …
i tested also Direct3D stuff , and it works fine …
i tryed to manipulate the focus according to this exemple …
( using differents parameters )
HWND m_hWnd = WindowFromDC(wglGetCurrentDC());
LONG style = ::GetWindowLong(m_hWnd, GWL_STYLE);
style &= ~WS_DLGFRAME;
style &= ~WS_CAPTION;
style &= ~WS_BORDER;
style &= WS_POPUP;
LONG exstyle = ::GetWindowLong(m_hWnd, GWL_EXSTYLE);
exstyle &= ~WS_EX_DLGMODALFRAME;
// ::SetWindowLong(m_hWnd, GWL_STYLE, style);
// ::SetWindowLong(m_hWnd, GWL_EXSTYLE, exstyle);
::SetWindowLong(m_hWnd, WS_CHILDWINDOW|WS_CLIPCHILDREN|WS_CLIPSIBLINGS , style);
::SetWindowLong(m_hWnd, WS_CHILDWINDOW|WS_CLIPCHILDREN|WS_CLIPSIBLINGS , exstyle);
SetWindowPos(m_hWnd,
HWND_BOTTOM, 0,0,0,0,
SWP_NOSIZE|SWP_NOMOVE);
Any suggestion that could help ?
Really do not want to code Direct 3D !
thanks all