GET_MAX_MODEL_WINDOW_SIZE ​
GET_MAX_MODEL_WINDOW_SIZE returns the current size of the MDI client area. This is not the maximum size of a model window, but model windows larger than that size cannot be made completely visible. The returned values w and h are the width and the height in pixels.
Syntax ​
leo-grammar
CC "Modeling" GET_MAX_MODEL_WINDOW_SIZE
# --> RESULT ecode:intValue w:intValue h:intValue
Parameters ​
none
Returns ​
ecode
(intValue) - the return variable ecode is 0 if getting the size was successful, 1 otherwise.w
(intValue) -h
(intValue) -
Details ​
See Also ​
Examples ​
asc
CC "Modeling" SET_WINDOW_POS x:0 y:0
CC "Modeling" GET_MAX_MODEL_WINDOW_SIZE
CC "Modeling" SET_WINDOW_SIZE w:(w) h:(h)
Resizes the current model window to fit the whole main window.
Versions and Changes ​
Available since ADOxx 1.3