Navigation:  ThinBASIC Modules > UI (User Interface) > Additional Controls and Functions > Canvas Control >

Canvas_Window End

Previous pageReturn to chapter overviewNext page

 

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.
If omitted, or equal to zero, the currently attached graphic window is destroyed

 

Remarks

 

Restrictions

 

See also

 

Examples