sys_metrics
http://www.conitec.net/beta/asys_metrics.htm
Int Num = Sys_metrics(80)

Also take a look at sys_metrics (76-79)

Edit - I read about "surround" -- It doesn't work like 3 monitors. Instead it creates one "primary " monitor out of 3-5.
This means that the video card is telling windows there is only one gaint primary display. So it would lie to dx9 and Windows. And tell sys_metrics that there is a single giant primary display. Because the conversation to 3 is happening after the game output to the card. The user should turn it off for a single display. Alternatively - They could enter the correct resolution at game start as it is configured in the Nvidia control panel in order for the game to output a single monitor size that actually fits all 3 displays.

Further reading would be need in the Nvidia developers knowledge base.
http://www.nvidia.com/object/3dv-system-requirements-surround-technology.html
http://developer.download.nvidia.com/whitepapers/2010/SurroundBestPracticesGuide.pdf

Nvidia surrounded faq

Quotes from "Best practices"
Quote:
NVIDIA Surround technology presents multiple displays as one large display to the
game and it can be difficult for a developer to know where the bezels of the actual
physical displays reside with respect to the final rendered image. It can also be difficult
to know if the current display mode is bezel-corrected, which results in some pixels being
virtually hidden behind the bezel for the sake of having rendered objects appear to line
up across the multiple displays. Bezel-correction is designed to create the perception of
looking through a window with panes, rather than just seeing the normal display
separated by display bezels. In this way, better immersion is afforded at the expense of
visibility of some of the rendered pixels (Figures 10 and 11).

Quote:
NVIDIA does not recommend developers look for a display number since the NVIDIA
Control Panel allows users to arrange the displays in any order they desire. Instead, it is
recommended that you use NVAPI for the most robust programmatic placement of
menu, video, and interface elements for Surround configurations. Here is an example
solution where we are querying for “visible rects” and then restricting the UI to the
visible part of the center display:

Quote:
Another way of doing this which does not require the use of NVAPI, but is less robust,
is to assume the user has a configuration that is three displays wide based on the aspect
ratio of the selected resolution, or let the user select an option in-game to enable this
mode. This example defines rough bezel-correction-safe horizontal boundaries for
programmatic placement of menu, video, and interface elements:

Quote:
Yet another solution for these placement issues is to allow the user to have some element
of control over the interface so they can offset interface elements by some amount or
control their exact location. This could function by means of in-game controls or by
exposing interface object positions in a text configuration file (which, for example, could
be edited by third party tools or even manually by users).



Summary - Best solution **Turn Off Surround - By user in Nvidia CP**

Last edited by DriftWood; 07/21/17 16:26.