OpenGL Non-Exclusive Full Screen (AK Fullscreen Borderless Window)

I am trying to get support for a full-screen window without borders, but none of the information found helps.

Regardless of whether the window is set to WS_EX_TOPMOST, the window will always be in exclusive full-screen mode. I checked the window styles in games using full screen mode without windows in WinSpy ++, and the styles that I use are identical.

I know this in exclusive full-screen mode because WDM stops rendering a small preview feature for my window. I also get the desktop to flicker from focusing and focusing the window.

The only way I was able to get behavior similar to what I want is to trick the windows into thinking that I don't need full screen mode. The way I do this is to change the position of the window by 1px so that it does not match the position and size of the screen. This stops Windows from automatically turning on exclusive full-screen mode.

I know that in DirectX, the solution to this is to simply create a device with a checkbox selected with a true window. However, I have never seen anything like it in OpenGL.

Change according to the first comment:

I do not use a third-party library for my window, just Win32 and OpenGL.

Edit:

WS_POPUP . DirectX , , "windowed".

GTX690 Win7 x64.

+4
1

PFD_SUPPORT_COMPOSITION PIXELFORMATDESCRIPTOR ChoosePixelFormat/SetPixelFormat.

. OpenGL Pipeline - 003

+2

Source: https://habr.com/ru/post/1530660/


All Articles