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 |
$$TRUE on success or $$FALSE on fail
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.
'Sets the minimum size to 400, 300 WinXSetMinSize (#hMain, 400, 300) |