SetMinWindowSize window[,width,height]

Parameters

window - A window gadget handle
width,height - optional size specifier

Description

Sets the minimum size of a window.

If width and height are omitted, the minimum size is set the window's current size.

Example

; Create a window
win=CreateWindow("Test SetMinWindowSize",100,100,200,90,0,19)

; Set the minimum window size
SetMinWindowSize win,200,90

; now a very small event loop
Repeat
If WaitEvent() = $803 Then Exit ; exit on window close
Forever

End ; bye!

Index

Click here to view the latest version of this page online