nanogui: UPDATEREGIONS problems


Previous by date: 20 Nov 2002 07:56:32 -0000 Re: flipping x and y, Greg Haerr
Next by date: 20 Nov 2002 07:56:32 -0000 microwin on ppc, hn
Previous in thread:
Next in thread: 20 Nov 2002 07:56:32 -0000 Re: UPDATEREGIONS problems, Greg Haerr

Subject: UPDATEREGIONS problems
From: ####@####.####
Date: 20 Nov 2002 07:56:32 -0000
Message-Id: <003901c29069$9b72c0f0$9af1ebd3@jedi>

I wonder if the UPDATEREGIONS flag work,

I turned on the UPDATEREGIONS flag and called "InvalidateRect()" to redraw only the designated rectangular area.
However microwindows redraw the whole window, whenever the paint message arrives.

I checked the update region which are handled in HWND structure and they had no problems.

I think the update region in HWND is passed to PSD and HDC when GetDCEx() is called but  I can't understand the mechanism.
In GetDCEx() code, the codes surrounded by UPDATEREGION do not seem to work, 
because GetDCEx() function is always called with the "hrgnClip=NULL" as parameter.

If I am wrong and there is a way to enable partial redrawing, please let me know.
I am in a serious trouble now as I have to change the whole software architecture, if partial redrawing is not possible.

Thanks in advance.

Previous by date: 20 Nov 2002 07:56:32 -0000 Re: flipping x and y, Greg Haerr
Next by date: 20 Nov 2002 07:56:32 -0000 microwin on ppc, hn
Previous in thread:
Next in thread: 20 Nov 2002 07:56:32 -0000 Re: UPDATEREGIONS problems, Greg Haerr


Powered by ezmlm-browse 0.20.