Menu

Add emulated full screen mode

rain
2022-10-13
2022-10-14
  • rain

    rain - 2022-10-13

    Hi!

    I have an issue that if I run game in full screen mode, the screen goes black and then after second or so it minimizes the window. And it I switch back to it then it happens again. So, I can only run this game in windowed mode but I want full screen because window compresses the game graphics. What I mean by that is that 1920x1080 gets scaled to 1920x1010 or something because title bar and taskbar both take their space. If I set window to normal size instead of maximized, then lower end of the window will be hidden below task bar.

    As a solution I thought that it would be cool to have emulated full screen mode. What I mean is to create a borderless window that covers entire screen including taksbar. That could be achieved by setting game window WS_POPUP style to get rid of window border and moving window to top left corner of active monitor and setting its width to desktop width and its height to desktop height and making window always on top (to cover other windows such as taskbar).

    For convenience it could also have user configurable hot key for that such as ctrl + enter or F11. For dual monitor setup it should stay on same monitor where user had normal window.

    Added benefit of that would be that if game switches between resolutions, it won't mess up desktop placement since it would be emulated full screen mode and not actual resolution change.

     
    • gho

      gho - 2022-10-14

      It seems exactly what you should get by setting the "Desktop" window mode ...

       
    • dippy dipper

      dippy dipper - 2022-10-14

      And if the game is running at a resolution that does not fit your monitors native output you can tick "Keep aspect ratio" and to improve image scaling quality in the DirectX tab try a different Renderer like "OpenGL" or "D3D9" together with bilinear filter.

      If the taskbar keeps appearing despite the "Desktop" setting the Video tab has the "Hide Taskbar" option that might help. (you also need to enable "Hide desktop background" in the main tab for it to activate.

      And finally make sure your Dxwnd version is up to date and study the Help files that are supplied. Help-> View help.

       
  • dippy dipper

    dippy dipper - 2022-10-14

    Somewhat off topic:

    This reminds me of the "Fullscreen only" option that may be quite confusing to users.

    The help file explanation is this:

    Forces applications to be considered always in fullscreen mode, helping DxWnd to set them in window mode when the fullscreen condition is not automatically detected.

    But to summarize enabling the flag has nothing to do with actually running the program in fullscreen. A less confusing name for the flag could be preferable.

    I would call it instead something like "Force Windowing".

     
    👍
    1

Log in to post a comment.