graphics on a second display

graphics on a second display

Post by richard ro » Fri, 07 Jan 2005 21:35:21



Hi all,

I want to write a delphix program that produces visual stimuli on a dual screen PC where the primary screen is for the program and the second screen is for the stimulus. Does anyone know how to tell delphix or any other library how to draw on the second display and can I run it in fullscreen 8bit palette mode?

Thanks for any help
 
 
 

graphics on a second display

Post by Grandmaste » Sun, 09 Jan 2005 03:40:54


Check out the Screen classs. It maintains a list of Monitors, and the rect
they cover on the virtual desktop (windows will automatically extend the
desktop size to fit both monitors). I'd pop open a borderless window on the
2nd screen, and do the display there. I know OpenGL worked ok that way - it
just wouldnt use hardware accelleration. Dont know about DirectX.

 
 
 

graphics on a second display

Post by Loren Pech » Mon, 10 Jan 2005 02:40:08

On 6 Jan 2005 04:35:21 -0800, "richard robson"



You simply set the window coordinates to the second screen. No
special handling is required. I've got a *Win 3.1* game that
basically correctly handles multi-screen!