RESIZE (function)

From QB64 Wiki
Revision as of 10:33, 15 March 2013 by imported>Galleon
Jump to navigation Jump to search

The _RESIZE function returns -1 when a user has attempted to resize the program window and $RESIZE:ON was used to create the program.


Syntax

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:



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page