The information in this article applies to:
SUMMARY
Microsoft Windows sends a WM_GETMINMAXINFO message to a window to
determine the maximized size or position for the window, and the
maximum or minimum tracking size for the window. An application can
change these parameters by processing the WM_GETMINMAXINFO message.
MORE INFORMATIONAn application can use the WM_GETMINMAXINFO message to constrain the size of a window. For example, the application can prevent the user from changing a window's width while allowing the user to affect its height, or vice versa. The following code demonstrates fixing the width:
The modifications required to fix the height are quite
straightforward.
For more information on the array of POINT structures that accompanies the WM_GETMINMAXINFO message, please refer to the "Microsoft Windows Software Development Kit Reference." Additional query words:
Keywords : kbNTOS kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS kbWndw kbWndwMsg |
Last Reviewed: January 28, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |