Is there a way to change the maximum size of a possibly maximized window, without changing the maximization state of the window? (I’m referring toMINMAXINFO.ptMaxSize and MINMAXINFO.ptMaxTrackSize here.)
Or, in other words: How do I tell the system to send my window a WM_GETMINMAX and refresh its state as necessary?
I actually think I found a solution: