Home:ALL Converter>Disable window maximize/minimize

Disable window maximize/minimize

Ask Time:2010-12-07T12:28:40         Author:SamJam

Json Formatter

How do I disable the maximizing and/or minimizing capability of a window with the Windows API? The maximize/minimize boxes need to be greyed out and disabled, and double clicking the title bar, dragging to the top of the screen, etc needs to not work also.

Author:SamJam,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/4373391/disable-window-maximize-minimize
yy