COPYIMAGE

From QB64 Wiki
Revision as of 07:16, 29 August 2009 by imported>Clippy
Jump to navigation Jump to search

_COPYIMAGE Duplicates an image handle.



Syntax: copyhandle& = _COPYIMAGE& [(handle AS LONG)]


  • Handle& copies any image handle to a new handle value.
  • Returns a copy handle value of - 1 if copy fails.
  • Valid copy handles are less than -1.
  • If handle parameter is omitted, the current destination is copied.
  • Every attribute of the passed image is copied.


Example:


See also: _LOADIMAGE, _NEWIMAGE