Don't know if it is a patch or not, so I post this here.
In order to prevent that the dialog boxes are too much reduced, like that:
You can process the WM_GETMINMAXINFO message by setting the ptMinTrackSize member of the MINMAXINFO structure pointed by lParam. This could give something like that:
case WM_GETMINMAXINFO: ((MINMAXINFO*)lParam)->ptMinTrackSize.x = 300; ((MINMAXINFO*)lParam)->ptMinTrackSize.y = 200; return TRUE;
Of course, this constants are arbitrary and should be calculated for each dialog box.
Log in to post a comment.