FYI ....
When the secondary monitor is located at the left of primary monitor,
secondary.minX is negative
In my case,
Secondary.maxX & maxY seem to be wrong ...
the 2 values are : 3072 x 1068
the monitor is almost 4K, windows10 gives 3840 x 2160 ....
I can resize if to fully fill the whole screen .....