Article View: borland.public.cppbuilder.nativeapi
Article #9717Re: Dual monitors
From: Clayton Arends
Date: Sat, 19 Jun 2004 05:30
Date: Sat, 19 Jun 2004 05:30
18 lines
1664 bytes
1664 bytes
"Liz Baldwin" <liz32au@yahoo.co.uk> wrote in message news:40d3a60d@newsgroups.borland.com... > Is it possible for these 2 screens be shown on both monitors or would the > user have to drag those two screens across to the smaller screen > everytime the application starts up? When another monitor is added to the system Windows increases the size of the desktop to accomodate. So, if both monitors are 1024x768 and monitor A is on the left side of monitor B then the location of monitor A is (0,0)-(1023,767) and the location of monitor B is (1024,0)-(2047,767). The way you would go about setting this up is to store the location of your forms into the registry when each form closes. Then, when the app starts you can restore those form positions by reading the values from the registry. - Clayton
Technical Details
Message-ID:
<40d3cf9f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40d3a60d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1d055e9743a2a4b X-Google-Attributes: gid10cc67,public From: "Clayton Arends" <nospam_claytonarends@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40d3a60d@newsgroups.borland.com> Subject: Re: Dual monitors Date: Fri, 18 Jun 2004 22:30:50 -0700 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 204.210.28.15 Message-ID: <40d3cf9f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1087623071 204.210.28.15 (18 Jun 2004 22:31:11 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail