Dual monitor question

Lj_Raph
03-01-2003, 02:37 AM
Hi,

I've made a dual monitor system on a win2k computer.
I also wrote a program but now I want that some forms when loaded
are directly shown on the second screen. I'm a newbie so if possible give me some sourcecode, otherwise I'm totally lost.

Thank you very much for your help

Ales Zigon
03-01-2003, 11:33 AM
Just use Top and Left property of the form to move it to the second monitor.

JDT
03-01-2003, 11:46 AM
You will need to use the monitor API functions to do it the right way.

First look at the Multiple Display Monitors Overview in MSDN. You will want the GetMonitorInfo() with the MONITORINFOEX struct to get the virtual work area of the monitor. From there you can correctly determine where to position the form on any multi monitor system.

This might not be all you are looking for but it should get you going. Click Me (http://www.visualbasicforum.com/showthread.php?threadid=59352&highlight=monitor).

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum