# Of OpenGL Focus / LED Screen

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

Damn smells bad …

all OpenGL apps have the same , issue … all DirectX have not …
maybe a OpenGL wrapper to directX could help ?
any clue welcome …

thanks

found a temporray solution … disable all hardware acceleration in windows …
as you can guess, i am not satisfied with this solution …

Maybe it’s a problem with your OpenGL driver…can you update it to something more recent? Or maybe file a bug with the hardware manufacturer.

after speaking with hardware manufacturer, the soft do not work with openGL, i did not really understood , but something to do with the fact that the soft do not reads the video memory directly inside the card …

well i adjust my soft disabeling all hardware acceleration. as my screen resolution is very low definition it is fine.