MGL_getActivePage

Returns the currently active hardware display page.

Declaration

int MGLAPI MGL_getActivePage(
MGLDC *dc)

Prototype In

mgraph.h

Parameters

dc | Device context of interest

Return Value

Currently active hardware display page.

Description

This function returns the currently active hardware display page number. The first hardware display page is 0, the second is 1 and so on. The number of available hardware pages depends on the type of underlying hardware, the video mode resolution and amount of video memory installed. Thus not all video modes support multiple hardware display pages.

All MGL output is always sent to the currently active hardware display page, and changing the active and visual display pages is used to implement double buffering.

See Also

MGL_setActivePage, MGL_getVisualPage, MGL_setVisualPage.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com