D3D.Close |
nStatus = D3D.Close( BYVAL nControl AS INTEGER, [BYVAL rWaitSeconds AS REAL=0] ) AS INTEGER ) AS INTEGER
Close a control window.. If rWaitSeconds is set the function will wait for the window to be closed by user interaction for the specified amount of time. Set the rWaitSeconds to INFINITE to disable timed out close.
Note; A Dynamic 3D window must be closed using the D3D.Close statement regardless of if the user closes the window.
Example:
DIM nControl AS INTEGER nControl = D3D.Create( "Graph", WS_VISIBLE, 0, 0, 320, 240, NULL, 1 ) D3D.Close( nControl )
|