Console_SetActiveScreenBuffer

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Console >

Console_SetActiveScreenBuffer

 

Description

 

Sets the specified screen buffer to be the currently displayed console screen buffer.

 

Syntax

 

n = Console_SetActiveScreenBuffer(hConsole)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hConsole

Number

No

A handle to the console screen buffer.

hConsole is the handle returned by Console_CreateScreenBuffer

 

Remarks

 

A console can have multiple screen buffers. Console_SetActiveScreenBuffer determines which one is displayed. You can write to an inactive screen buffer and then use Console_SetActiveScreenBuffer to display the buffer's contents.

 

Restrictions

 

See also

 

Examples