Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need information on the use of multiple (2 would be just fine) monitors in my fullscreen d3d app written in c++.
Cant find anything, maybe just overworked :confused:
How can i make my app go fullscreen on both monitors.
Thanks for any hints
Posted

Determine the number of monitors, their resolutions, and their positions relative to the main monitor. Then, move the origin of the d3d app window to the left-most possible position (if your secondary monitor is to the left of your main one, your origin will have a negative X value). You will also have to make the window large enough to wrap over to the other monitor.

I'm generalizing because I'm not familiar with d3d, but I know you can do that with regular desktop windows.

Oh yeah, you're going to have to make sure your video card isn't configured to mirror the desktop on each monitor.
 
Share this answer
 
Here's the D3D9 MSDN doc: Working with Multiple Monitor Systems[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900