Detecting wx window locations on a system with multiple monitors

On a Windows XP system ...

Does anyone know of a way to
1. Detect when a system has multiple monitors?
2. Detect when wx windows are displayed on the "other" monitor(s) ?

I've written a program which allows the user to create many stand
alone windows (TLW?).

When I run the program I usually drag those windows to my secondary
monitor. I'm trying to implement a way to restore these windows on
the other monitor.

The program needs to be able to detect this first.

See wx.Display.

···

On 8/24/10 4:30 PM, cappy2112 wrote:

On a Windows XP system ...

Does anyone know of a way to
1. Detect when a system has multiple monitors?
2. Detect when wx windows are displayed on the "other" monitor(s) ?

I've written a program which allows the user to create many stand
alone windows (TLW?).

When I run the program I usually drag those windows to my secondary
monitor. I'm trying to implement a way to restore these windows on
the other monitor.

The program needs to be able to detect this first.

--
Robin Dunn
Software Craftsman

See also my PerspectiveControls library to save/restore TLW positions,
size, etc...:

http://xoomer.virgilio.it/infinity77/main/PersistentControls.html

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.
The Doomed City: Removal Group: the nightmare <==

···

On 25 August 2010 03:03, Robin Dunn wrote:

On 8/24/10 4:30 PM, cappy2112 wrote:

On a Windows XP system ...

Does anyone know of a way to
1. Detect when a system has multiple monitors?
2. Detect when wx windows are displayed on the "other" monitor(s) ?

I've written a program which allows the user to create many stand
alone windows (TLW?).

When I run the program I usually drag those windows to my secondary
monitor. I'm trying to implement a way to restore these windows on
the other monitor.

The program needs to be able to detect this first.

See wx.Display.