Share via

How to fetch data of display resolution and display orientation in Winui3

mohan Raj 11 Reputation points
2023-04-27T11:37:09.1133333+00:00

Hi i am working on an winui3 application , My requirement is that i have two combo box name display resolution and display orientation.

For the both combo box i need to add values from display setting like need to fetch the value of display resolution and orientation from the settings.

thanks in advance

Windows development | Windows App SDK
Windows development | Windows API - Win32
0 comments No comments

1 answer

Sort by: Most helpful
  1. Castorix31 91,866 Reputation points
    2023-04-27T21:16:31.2533333+00:00

    I posted a test code with EnumDisplaySettingsEx in your thread on Github : https://github.com/microsoft/microsoft-ui-xaml/issues/8437

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.