In our programs we often use WM_SIZE but we forget to use WM_GETMINMAXINFO.
So we have windows with very small client area and we cannot use it.
To avoid this just reply to the WM_GETMINMAXINFO
(http://www.phrio.biz/download/T01.jpg)
Source file here (http://www.phrio.biz/download/$01.7z)
Need 7zip (http://www.7-zip.org/)