RESIZE (function)
From QB64 Wiki
The _RESIZE function returns -1 when a user has attempted to resize the program window and $RESIZE:ON was used to create the program.
- IF _RESIZE THEN
- The function returns -1 if a resize was attempted, after which _RESIZEWIDTH and _RESIZEHEIGHT return the new dimensions in pixels.
- The $RESIZE:ON meta-command must be used so the program is created with a user resizable window.
See also:
- $RESIZE
- _RESIZEWIDTH, _RESIZEHEIGHT (functions return the requested dimensions)