BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dual Head Monitor Control

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
JohnS
Guest





PostPosted: Thu Oct 05, 2006 5:18 am    Post subject: Dual Head Monitor Control Reply with quote



I want to be able to draw on a particular form and have that form
appear on a second monitor.
The second monitor will actually be a projector.

Monitor 1: The user clicks on a specific button.
Monitor 2: A red spot appears at a specific location, depending on
which button was pressed.

Drawing the spots is no problem, it's the monitor control I don't know
anything about.
I'm using Delphi 6 Pro and a Matrox Dual Head video card.
This will form part of some tests in an Optometry lab.
Any advice would be appreciated.
Thanks,
Back to top
Nils Haeck
Guest





PostPosted: Thu Oct 05, 2006 5:26 am    Post subject: Re: Dual Head Monitor Control Reply with quote



Look at the global variable Screen.Monitors[] property. Your 2nd monitor
should be in there, and contain the coordinates of where you have to place
your form on the desktop (TMonitor.Left/Top/Width/Height).

Your desktop is just one big virtual screen containing both screens.

Nils

"JohnS" <jstephens (AT) acenet (DOT) net.au> schreef in bericht
news:1160007489.428329.114210 (AT) h48g2000cwc (DOT) googlegroups.com...
Quote:
I want to be able to draw on a particular form and have that form
appear on a second monitor.
The second monitor will actually be a projector.

Monitor 1: The user clicks on a specific button.
Monitor 2: A red spot appears at a specific location, depending on
which button was pressed.

Drawing the spots is no problem, it's the monitor control I don't know
anything about.
I'm using Delphi 6 Pro and a Matrox Dual Head video card.
This will form part of some tests in an Optometry lab.
Any advice would be appreciated.
Thanks,
Back to top
JohnS
Guest





PostPosted: Thu Oct 05, 2006 6:55 am    Post subject: Re: Dual Head Monitor Control Reply with quote



That solved the problem.
Thanks,

------------------------------------------------------------------------
Nils Haeck wrote:

Quote:
Look at the global variable Screen.Monitors[] property. Your 2nd monitor
should be in there, and contain the coordinates of where you have to place
your form on the desktop (TMonitor.Left/Top/Width/Height).

Your desktop is just one big virtual screen containing both screens.

Nils
Back to top
Carles Ureña
Guest





PostPosted: Tue Oct 31, 2006 6:48 pm    Post subject: Re: Dual Head Monitor Control Reply with quote

Hi,

how do you drive the spot? do you paint it in a form or directly to the
screen?

THXS

"JohnS" <jstephens (AT) acenet (DOT) net.au> escribió en el mensaje
news:1160007489.428329.114210 (AT) h48g2000cwc (DOT) googlegroups.com...
Quote:
I want to be able to draw on a particular form and have that form
appear on a second monitor.
The second monitor will actually be a projector.

Monitor 1: The user clicks on a specific button.
Monitor 2: A red spot appears at a specific location, depending on
which button was pressed.

Drawing the spots is no problem, it's the monitor control I don't know
anything about.
I'm using Delphi 6 Pro and a Matrox Dual Head video card.
This will form part of some tests in an Optometry lab.
Any advice would be appreciated.
Thanks,
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.