Hi,
If you have a secondary monitor to the left of your main screen, your window coordinates become negative.
If you were then to disconnect this monitor (leave office and hit the road), and your app restores to those coordinates your window is hidden.
Can anybody point me at windows api functions to tell what screen my window is on, and if the coordinates are valid for the currently connected monitor(s)? GetSysMetrics for screen size only return the main window
Window coordinates for multiple desktops
- AlexSchaft
- Posts: 172
- Joined: Fri Oct 07, 2005 1:29 pm
- Location: Edenvale, Gauteng, South Africa
- Daniel Garcia-Gil
- Posts: 2365
- Joined: Wed Nov 02, 2005 11:46 pm
- Location: Isla de Margarita
- Contact:
Re: Window coordinates for multiple desktops
Hello
try with this (spanish forum)
try with this (spanish forum)
Code: Select all
http://forums.fivetechsupport.com/viewtopic.php?p=95480#p95480
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9