【UE4】窗口控制(最大化,最小化,置于顶层)

配置文件 DefaultGameUserSettings.ini

  • config文件夹增加DefaultGameUserSettings.ini文件
    可用于打包后修改

    [/Script/Engine.GameUserSettings]
    bUseVSync=False
    ResolutionSizeX=1600
    ResolutionSizeY=900
    LastUserConfirmedResolutionSizeX=1600
    LastUserConfirmedResolutionSizeY=900
    WindowPosX=-1
    WindowPosY=-1
    FullscreenMode=2
    LastConfirmedFullscreenMode=2
    PreferredFullscreenMode=2
    Version=5
    AudioQualityLevel=0
    FrameRateLimit=0.000000
    DesiredScreenWidth=1280
    bUseDesiredScreenHeight=False
    DesiredScreenHeight=720
    LastRecommendedScreenWidth=-1.000000
    LastRecommendedScreenHeight=-1.000000
    LastCPUBenchmarkResult=-1.000000
    LastGPUBenchmarkResult=-1.000000
    LastGPUBenchmarkMultiplier=1.000000
    bUseHDRDisplayOutput=False
    HDRDisplayOutputNits=1000
    

C++ 控制

  • 待定

置于顶层

  • 调用win系统命令,忘记了 -_-!
posted @ 2021-12-02 10:32  砥才人  阅读(1622)  评论(0编辑  收藏  举报