Using WM_GETMINMAXINFO to constrain window size using SmartSubclass
I want to use the window message WM_GETMINMAXINFO to limit the movement of the window tracking border.
I can do that by the method listed in microsoft knowledge base at:
http://support.microsoft.com/kb/185733
but in this code I must do the whole subclassing
I want to do that using the SmartSubclass library
it is a very smart, simple and really professional tool for subclassing, binary and source at:
http://www.visual-basic.com.ar/vbsma...rtsubclass.htm
the problem here is that:
By using smartsubclass, I can only change the ptMaxTrackSize, but I cannot change ptMinTrackSize
Re: Using WM_GETMINMAXINFO to constrain window size using SmartSubclass
Aside from the ability to crash your code without crashing the IDE, why not just write the code to do the subclassing yourself? (Or modify the class?)