song@cds855.Cadence.COM (Song-Yu Yang) (06/20/91)
Hi, I am new to the Microsoft Windows programming. I am writing an application program. I would like to limit the resizing function of some windows to their minimum and maximum sizes. I mean the way like X Window size hints to retrict the minimum and maximum sizes of the windows. The user cannot resize the windows smaller than the specified minimum size, neither can they resize the windows larger than the specified maximum size, even in the dragging mode. The MSDOS window demonstrates this when Windows running under enhanced mode. I know there is a WM_GETMINMAXINFO may solve this problem, but the documentation is so poor written. Could anybody who knows the trick tellsme how to do this? Thanks in advance! Song-Yu Yang ------------ song@cadence.com