Up |
_SETwindowMaxSize
Set the maximal window size.
Prototype :
fun [ObjWin I I] ObjWin
- ObjWin : a source window object
- I : a maximal width
- I : a maximal height
Return : ObjWin the same window object or nil if error
See also :
Example :
typeof win = ObjWin;;
fun main ()=
_showconsole;
set win = _CRwindow _channel nil 0 0 300 200 WN_SIZEBOX "Test MinMaxWindow";
_SETwindowMaxSize win 600 600;
_SETwindowMinSize win 100 100;
...
0;;