In Class TWindow Method EndPaint(), add this final zero:
METHOD EndPaint() INLINE ::nPaintCount--,;
EndPaint( ::hWnd, ::cPS ), ::cPS := nil, ::hDC := nil, 0
It solves painting errors!
In Class TWindow Method EndPaint(), add this final zero:
METHOD EndPaint() INLINE ::nPaintCount--,;
EndPaint( ::hWnd, ::cPS ), ::cPS := nil, ::hDC := nil, 0
It solves painting errors!
Is the current release updated with that fix?
EMG
Enrico,
No, it isn't.
Enrico,
We have uploaded FWH 7.09 again, so now the fix is included into it ![]()
Antonio,
Does it include other pending fixes?.
Best regards,
Moises,
No, not yet ![]()
Antonio Linares wrote:Enrico,
We have uploaded FWH 7.09 again, so now the fix is included into it
Antonio Linares wrote:In Class TWindow Method EndPaint(), add this final zero:Antonio,
METHOD EndPaint() INLINE ::nPaintCount--,;
EndPaint( ::hWnd, ::cPS ), ::cPS := nil, ::hDC := nil, 0
It solves painting errors!
Ugo,
Yes, it should be applied to all FWH builds.
To test it, use a brush on the main window and move the calculator over it. You will see that the painting is not ok. With the fix, it paints ok.
Antonio Linares wrote:Ugo,
Yes, it should be applied to all FWH builds.
To test it, use a brush on the main window and move the calculator over it. You will see that the painting is not ok. With the fix, it paints ok.
Antonio Linares wrote:Ugo,
Yes, it should be applied to all FWH builds.
To test it, use a brush on the main window and move the calculator over it. You will see that the painting is not ok. With the fix, it paints ok.
EnricoMaria wrote:Yes! Wonderful improvement! It works with bitmap backgrounds too.Antonio and Enrico,
Ugo,
You will not notice it in Vista as Vista has optimized WM_PAINT msgs. But it fails in XP.
Hi,
Does anyone can teach me what else and how to do after added the final zero?
Just compile window.prg and add window.obj to your application, or replace it in FiveH.lib (or FiveHX.lib)