<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Canvas Control > Canvas Control Commands > Canvas_Window End |
Description
The Canvas Window identified by the handle hWnd is closed and destroyed.
If hWnd is omitted, or equal to zero, the currently attached graphic window is destroyed.
Canvas Window End can be used to close and destroy a graphic window at any time. Otherwise, the window is automatically destroyed when the program ends.
Syntax
n = Canvas_Window End [hWnd]
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Numeric |
Yes |
Handle of the Canvas Window to end. |
Remarks
Restrictions
See also
Examples