Board index » cppbuilder » Dual monitors

Dual monitors


2005-03-29 11:41:12 PM
cppbuilder0
How can we move (programatically) to different screen/monitor?
Is there any component for this?
 
 

Re:Dual monitors

I have a G-Force FX 5200 PCI graphics card which enables me to successfully
view the output screen on a second monitor with BCBuilder6. However, with
Turbo v3.0 I get the same screen cloned on the second monitor and cannot
separate the output screen despite using the /d option.
Does anyone know if Turbo 3.0 works with this graphics card for dual
monitors - (The manual implies
I am using two separate graphics cards) ?
 

Re:Dual monitors

D7: I just got a second monitor--is there any way to default the app to the
second monitor when it runs?
 

{smallsort}

Re:Dual monitors

Use the Screen.MonitorCount to get the number of monitors connected.
I'm not sure if you can set the applications monitor to a specific
monitor but I've used this to tile windows across multiple monitors but
this should work for your app.
MainForm.Left := Screen.Monitors[Screen.MonitorCount -1].Left;
MainForm.Top := Screen.Monitors[Screen.MonitorCount -1].Top;
This would set your application to the top left corner of the last
monitor in the list of connected monitors.
In my experience though, most gfx cards have settings so that you can
set specific application settings i.e. which monitor it starts on.
Hope this helps.
nisbus
Ed Dressel wrote:
Quote
D7: I just got a second monitor--is there any way to default the app to the
second monitor when it runs?