GetDesktopWindow() on dual monitor system.

GetDesktopWindow() on dual monitor system.

Postby byron.hopp » Wed Sep 25, 2024 6:55 pm

When I ask for the desktop windows on my dual monitor system I get the main monitor by GetWndRect( GetDesktopWindows() ). Is there a way to the the second or n monitors as well. I am trying to display multiple dialogs across the screens for a scheduling app and need to know how far I can go to the right.
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: GetDesktopWindow() on dual monitor system.

Postby nageswaragunupudi » Wed Sep 25, 2024 7:32 pm

Please open fwh\source\function\getsysin.prg:
Then please go through all the function under the heading
Code: Select all  Expand view
//----------------------------------------------------------------------------//
// MULTIPLE MONITORS FUNCTIONS
//----------------------------------------------------------------------------//
 

Then you ask us specific questions and we will help you.
These functions are enough for handling multi-monitor issues
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10643
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: GetDesktopWindow() on dual monitor system.

Postby byron.hopp » Wed Sep 25, 2024 7:49 pm

You nailed it, Thank you.
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests