G
Guest
Hi,
I'm trying to create an project running in a dual display environment. My
application instantiate a Windows Form on each monitor, and that works great.
However, I need to use DirectX and thereby I need to figure out, which
display adapter the form is running on. Until now that hasn't been easy! I
tried using the Screen class, but if the primary window is to the right, then
the first screen in Screen.AllScreens is the one on the left, and so I can't
just use the index in Screen.AllScreens.
Could anyone please help me figure out how to determine the adapter a form
is running on?
Kindly regards
I'm trying to create an project running in a dual display environment. My
application instantiate a Windows Form on each monitor, and that works great.
However, I need to use DirectX and thereby I need to figure out, which
display adapter the form is running on. Until now that hasn't been easy! I
tried using the Screen class, but if the primary window is to the right, then
the first screen in Screen.AllScreens is the one on the left, and so I can't
just use the index in Screen.AllScreens.
Could anyone please help me figure out how to determine the adapter a form
is running on?
Kindly regards