LCARSx32 / Main-LCARS-x32-Project

http://www.lcarsx32.com
Other
27 stars 10 forks source link

LCARS windows do not resize back to full #9

Open TK-313 opened 6 years ago

TK-313 commented 6 years ago

Here is how it looks after I open and close the personal programs list: 2018-03-10_17-32-53

Surak256 commented 6 years ago

Thats... odd. This worked two months ago. Thanks for letting me know; I'll get this sorted out as soon as practical.

Surak256 commented 6 years ago

"As soon as practical" turned out to be "After I've finished my degree", but better late than never.

I've identified the problem. In LCARSForm's handling of WM_MINMAXINFO, I set ptMaxTrackSize to the correct window size instead of ptMaxSize. This was to avoid dealing with the resizing calculations required to make it work on multiple monitors. At the time that I tested it, the window would attempt to maximize to the full screen size, but be constrained to the working area by the maximum track size. For whatever reason that no longer works.

I'll see if I can get the resizing calculations working properly, or I'll have to find a different method.