 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
JohnS Guest
|
Posted: Thu Oct 05, 2006 5:18 am Post subject: Dual Head Monitor Control |
|
|
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
|
Posted: Thu Oct 05, 2006 5:26 am Post subject: Re: Dual Head Monitor Control |
|
|
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
|
Posted: Thu Oct 05, 2006 6:55 am Post subject: Re: Dual Head Monitor Control |
|
|
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
|
Posted: Tue Oct 31, 2006 6:48 pm Post subject: Re: Dual Head Monitor Control |
|
|
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 |
|
 |
|
|
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
|
|