WinXSetMinSize


WinXSetMinSize (hWnd, w, h)

Sets the mimimum size for a window. The window cannot be made any smaller than this size.

Parameter Description
hWnd The handle to the window to set the minimum size for
w The minimum width for the window
h The minimum height for the window

Returns

$$TRUE on success or $$FALSE on fail

Remarks

You can change the minimum size at any time using this function. The minimum size includes the title bar, menu bar, toolbars, status bars and borders. If this proves to be a problem I will correct it in the future.

Examples

'Sets the minimum size to 400, 300
WinXSetMinSize (#hMain, 400, 300)

Related Links

WinXAutoSizer_SetInfo