canvas-create

long ( canvas-create long parent-id optional long x optional long y optional long width optional long height optional word style)

Creates a canvas for drawing graphics on. parent-id must be a valid frame ID. The value of style can be a combination (sum) of the values 1 (draw a border around the canvas), 2 (make the canvas retained if possible) or 0 (no style attributes). For example, the value 3 would denote a retained canvas with a border. A retained canvas has a backing store which reduces the number of times the windowing system issues a request to repaint the canvas, and is not currently implemented under Windows 3.1