Supported Browsers Home   
MGL_wmUncaptureEvents Previous   
MS_getPos Next   
External Functions Up   

MGL_wmUpdateDC

Updates invalidated parts of window manager's DC.

Declaration

void MGLAPI MGL_wmUpdateDC(
    winmng_t *wm)

Prototype In

mgraph.h

Parameters

wm

the window manager

 

Description

This function updates the device context by redrawing all areas previously invalidated by either explicit calls to MGL_wmInvalidateXXX functions or by operations that modify visual appearance of windows (such as MGL_wmSetWindowPosition, MGL_wmShowWindow or MGL_wmRaiseWindow).

Painter callbacks attached to windows are used to do actual painting.

Note:    A typical application will run in event loop and repeatedly call EVT_halt, MGL_wmProcessEvent and MGL_wmUpdateDC.

Note:    This function automatically hides mouse pointer if neccessary to avoid occurence rendering artifacts.

See Also

MGL_wmInvalidateRect, MGL_wmInvalidateRegion, MGL_wmInvalidateWindow, MGL_wmInvalidateWindowRect, MGL_wmInvalidateWindowRegion, MGL_wmProcessEvent, MGL_wmSetWindowPainter

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