How can I get monitors numbers from Screen Resolution dialog in win7 programmatically?

前端 未结 3 2414
别那么骄傲
别那么骄傲 2020-12-05 16:14

When you press Identify button in Screen Resolution dialog then Windows shows you big white monitor numbers on each monitor. It was easy to find them programmatically togeth

3条回答
  •  情书的邮戳
    2020-12-05 16:28

    Windows does not provide a function that allows applications to obtain the numbers used by the display settings app. The numbers themselves are specific only to the display settings app and have no meaning in the system or in the CCD APIs used to query/set the display topology.

    The best option is for applications to define their own criteria for assigning an index when prompting the user to select a display.

提交回复
热议问题