How can I determine # of monitors and the resolution of each?
Posted on 2013-08-30
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