Supported Browsers Home   
MGL_selectDisplayDevice Previous   
MGL_setAlphaValue Next   
External Functions Up   

MGL_setActivePage

Sets the currently active hardware display page for a display device context.

Declaration

void MGLAPI MGL_setActivePage(
    MGLDC *dc,
    int page)

Prototype In

mgraph.h

Parameters

dc

Display device context of interest

page

Number of active hardware display page to use

 

Description

This function sets the currently active hardware video page to which all output from MGL is sent to. The first hardware video page is number 0, the second is 1 and so on. The number of available hardware video 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 video pages.

See Also

MGL_getActivePage, MGL_setVisualPage, MGL_getVisualPage, MGL_swapBuffers

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