_setvisualpage

Description

Sets the visual page.

#include <graph.h>

short __far _setvisualpage( short page );

page Visual page number  

Remarks

For hardware configurations that have enough memory to support multiple-screen pages, the _setvisualpage function selects the current visual page. The page argument specifies the current visual page. The default page number is 0.

Return Value

The function returns the number of the previous visual page. If the function fails, it returns a negative value.

Compatibility

Standards:None

16-Bit:DOS

32-Bit:None

See Also

_getactivepage, _getvisualpage, _setactivepage, _setvideomode

Example

See the example for _setactivepage.