Restricting window size

Easy! Handle WM_GETMINMAXINFO, LPARAM of this message points to a MINMAXINFO structure. Fill out necessary information into this structure like minimum and maximum tracking size, maximum position, maximum size. If you’ve handled and filled out necessary information then return FALSE to so that the changes get’s applied. If you are using MFC then add a […]
Continue reading…