Tech Support > Microsoft Windows > Development Resources > Multiple Monitors / Multiple Views
Multiple Monitors / Multiple Views
Posted by Amanda Rekkonwith on January 4th, 2004



Hi everyone...

I am working on an application that needs to have two different display
systems which display two different screens of information simultaneously.

I can plug another display adapter into the motherboard, but how do I find
and talk to the new device from Visual C++?

email reply address is bogus... in an obvious way - but replies to the
newsgroup would probably be more useful to stimulate discussion...

Thanks in advance...

Amanda



Posted by bunny on January 4th, 2004


Amanda Rekkonwith wrote:
I use EnumDisplayDevices and EnumDisplaySettings to get info on the
different devices. To create a window on a secondary device use
CreateWindow and set the position to the location of the other display
using its dmPosition from its DEVMODE.



Posted by Jussi Jumppanen on January 5th, 2004


bunny wrote:

These Win32 API's:

MonitorFromWindow
GetMonitorInfo

and these special system info calls:

GetSystemMetrics(SM_CXVIRTUALSCREEN)
GetSystemMetrics(SM_CYVIRTUALSCREEN)

also help.

Jussi Jumppanen
Author of: Zeus for Windows (All new version 3.92 out now)
"The C/C++, Cobol, Java, HTML, Python, PHP, Perl programmer's editor"
Home Page: http://www.zeusedit.com

Posted by Amanda Rekkonwith on January 5th, 2004


Thank for the pointers! Cool!

Amanda

"Jussi Jumppanen" <jussij@zeusedit.com> wrote in message
news:3FF8BD28.7593@zeusedit.com...



Similar Posts