Archived

This topic is now archived and is closed to further replies.

how to program two monitors

This topic is 5514 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a computer with two video cards and two monitors. I want to write a program that can draw on both monitors, but I don''t have the slightest idea how this is done. Are the two monitors treated as one large, continuous desktop, or two separate pieces of properties, each has its own coordinate systems? How do I address positions on these monitors? How do I sync them? Can anyone direct me to some articles, books, webpages, tutorials or samples that explain how this can be done? Thank you in advance. Lei

Share this post


Link to post
Share on other sites
Well, if you are talking DirectX then what you have is two separate adapters that will be enumerated and I don''t think you can create a single device that spans both of them. Windows GDI may have an interface for spanning the monitors and treating them as a single piece of real estate but I don''t think DX can.

Something I have wanted to find out is if you can use multiple adapters and d3d devices within the same game... Haven''t tried it yet but I suspect you are only allowed to create a single d3d device at a time.

Share this post


Link to post
Share on other sites