🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
3 messages
3 total messages Started by Monitor Fri, 13 Aug 2004 14:32
How to find number of monitors attached to a PC?
#445
Author: Monitor
Date: Fri, 13 Aug 2004 14:32
5 lines
969 bytes
Most of the new generation graphics cards support two monitor outputs.

How to find number of monitors attached to a PC?

How to send a TForm to monitor 1 or 2 ?
Re: How to find number of monitors attached to a PC?
#446
Author: Remy Lebeau (TeamB)
Date: Fri, 13 Aug 2004 17:14
13 lines
1265 bytes
<Monitor> wrote in message news:411cd0e6@newsgroups.borland.com...

> Most of the new generation graphics cards
> support two monitor outputs.
>
> How to find number of monitors attached to a PC?

Which version of BCB are you using?  The global TScreen object in BCB 5 and
6 has MonitorCount and Monitors[] properties.


Gambit
Re: How to find number of monitors attached to a PC?
#378
Author: Marcelo R. Lopez, Jr.
Date: Fri, 08 Oct 2004 18:48
35 lines
2005 bytes
Remy Lebeau (TeamB) wrote:

><Monitor> wrote in message news:411cd0e6@newsgroups.borland.com...
>
>  
>
>>Most of the new generation graphics cards
>>support two monitor outputs.
>>
>>How to find number of monitors attached to a PC?
>>    
>>
>
>Which version of BCB are you using?  The global TScreen object in BCB 5 and
>6 has MonitorCount and Monitors[] properties.
>
>
>Gambit
>
>
>  
>
Alternatively ....you'll have to get familiar with the following Win32 
API call:

BOOL EnumMonitors(
    LPTSTR pName,    // pointer to server name
    DWORD Level,    // structure level
    LPBYTE pMonitors,    // pointer to structure array
    DWORD cbBuf,    // size, in bytes, of buffer
    LPDWORD pcbNeeded,    // addr. of variable with no. of bytes copied 
(or required)
    LPDWORD pcReturned     // addr. of variable with no. of job info. 
structures copied
   );
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads