I am trying to create a full screen application using Win32 and OpenGL. I change the resolution with EnumDisplaySettingsand ChangeDisplaySettings, and the OpenGL functions work fine. On WndProc, I process WM_ACTIVATEAPP and detect when the user has switched focus to another window, then I minimize the application window. When the window is enlarged again, the window does not display properly. What could I enable to make the application work even after minimization?
source
share