How to select on which monitor to display the game ?

Hello,

I would like to add the option in my game to select on which monitor the game should be displayed and to be able to retrieve all supported resolutions for this selected monitor.

Right know I am able to retrieve supported resolutions only for the primary monitor with this function:
http://api.unrealengine.com/INT/BlueprintAPI/Rendering/GetSupportedFullscreenResolution-/index.htm

Is it possible to support multiple monitor setups and switch between them as it’s possible in many games ?

did you ever figure this out? this is a must in 2019

Never no unfortunately, our game shipped without this feature.

It’s really funny, because we are now in 2024 :joy: :sob: :sob:

for switching monitors and getting res per monitor you need the per-monitor info, GetSupportedFullscreenResolution only gives primary.

with the monitor nodes you can do GetAllMonitors then for selected index GetMonitorByIndex → NativeWidth/Height is that monitor’s res, DisplayRect/WorkArea gives you the rect too. call MoveGameWindowToMonitor or SetGameWindowFullscreenOnMonitor when user confirms. Bonus is GetMonitorDPIScale and GetDPICorrectedCursorPosition if your secondary has different DPI — otherwise clicks feel offset.

multi-monitor display controller on fab (hashem store) wraps FDisplayMetrics / FMonitorInfo / FSlateApplication to BP so you can do all that without C++. you can also do it in C++ directly via FSlateApplication::Get().GetDisplayMetrics if you prefer.