troubleshooting Question

How can I determine # of monitors and the resolution of each?

Avatar of Ed Covney
Ed CovneyFlag for United States of America asked on
DelphiWindows OS
3 Comments1 Solution522 ViewsLast Modified:
When exiting my program, I write the form's position (X, Y) (i.e. LEFT, TOP) to the registry, and read it when my form starts up next. A problem recently occurred in that if I change screen resolution between, opening the small form at its last position may be entirely "off screen" and hence opens it minimized (form does maximize - so it can't be placed in a viewable position).

So I need to make an adjustment or two (recommendations appreciated), but I need to know  if the (X, Y) stored falls inside the monitor(s') resolution(s).

TIA - Ed
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros