Article View: borland.public.cppbuilder.nativeapi
Article #9726Re: Dual monitors
From: Evariste HORNECKER
Date: Mon, 21 Jun 2004 09:01
Date: Mon, 21 Jun 2004 09:01
31 lines
1903 bytes
1903 bytes
In pure Windows API, just take a look at: EnumDisplayMonitors to enumerate the available screens. The primary monitor has 0,0 as top,left coordinates secondaries monitors can be anywhere. To place a window in a specified screen, just move it with MoveWindow. "Liz Baldwin" <liz32au@yahoo.co.uk> a οΏ½crit dans le message de news:40d3a60d@newsgroups.borland.com... > Hi everyone, > > I would like to write an application that has three windows, the first is a > status screen, the second is a summary screen, the third is a detail screen. > The application runs on a laptop. I want to see the status and summary > screens on a small external monitor (probably no bigger than an 8"). 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? I am using > windows XP. I am new to C++ and writing applications for dual monitors. I > would greatly appreciate your help. Thanks. > > Cheers, > James > >
Technical Details
Message-ID:
<40d6a404$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 X-Google-Thread: 10cc67,1d055e9743a2a4b X-Google-Attributes: gid10cc67,public From: "Evariste HORNECKER" <evariste.horneckerSTOPTHESPAM@neosys.fr> Newsgroups: borland.public.cppbuilder.nativeapi References: <40d3a60d@newsgroups.borland.com> Subject: Re: Dual monitors Date: Mon, 21 Jun 2004 11:01:49 +0200 Lines: 33 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: 81.248.57.182 Message-ID: <40d6a404$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1087808516 81.248.57.182 (21 Jun 2004 02:01:56 -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