09-25-2019 09:14 AM
Hi,
Is there a way to know the number of screens connected to a PC ?
Thanks
Bertrand
Solved! Go to Solution.
09-25-2019 09:24 AM
Hello Bertrand,
GetSystemAttribute (ATTR_NUM_MONITORS, ); will do
09-26-2019 07:01 AM
Hi Wolfgang
Thank you very munch for the answer.
Is there also a way to get the resolution of each monitor connected ?
In Windows one can set the position of the secondary monitors.
Is there a way to know the position of the additional monitors regarding the main monitor?
Bertrand
09-26-2019 08:05 AM - edited 09-26-2019 08:08 AM
You can use GetScreenSize() and GetMonitorAttribute()and GetSystemAttribute().
For details see this thread.
09-26-2019 08:06 AM
Hi Wolgang,
I found the solution using GetMonitorAttribute() and GetMonitorFromPoint().
Thank you again for your precious help
Bertrand