Avatar of Ed Covney
Ed CovneyFlag for United States of America asked on

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

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
DelphiWindows OS

Avatar of undefined
Last Comment
Ed Covney

8/22/2022 - Mon
bipul4b

ASKER CERTIFIED SOLUTION
jimyX

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Ed Covney

jimyX -

Thank you - This is exactly what I was hoping for !!
Your help has saved me hundreds of hours of internet surfing.
fblack61