FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Important fix
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Important fix
Posted: Sat Sep 15, 2007 08:05 AM

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!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Important fix
Posted: Sat Sep 15, 2007 09:54 AM

Is the current release updated with that fix?

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Important fix
Posted: Sat Sep 15, 2007 09:55 AM

Enrico,

No, it isn't.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Important fix
Posted: Sat Sep 15, 2007 10:08 AM

Enrico,

We have uploaded FWH 7.09 again, so now the fix is included into it :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 838
Joined: Wed Aug 22, 2007 10:09 AM
Important fix
Posted: Sat Sep 15, 2007 10:32 AM

Antonio,

Does it include other pending fixes?.

Best regards,

Saludos / Regards,



FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Important fix
Posted: Sat Sep 15, 2007 10:39 AM

Moises,

No, not yet :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Important fix
Posted: Sat Sep 15, 2007 03:51 PM
Antonio Linares wrote:Enrico,

We have uploaded FWH 7.09 again, so now the fix is included into it :-)


Thank you, Master! :-)

EMG
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Re: Important fix
Posted: Sun Sep 16, 2007 04:03 PM
Antonio Linares wrote: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!
Antonio,
My version "FWHX 7.04" ix fixable?
can you post the little sample for test the fix?
Ciao, best regards,

Ugo
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Important fix
Posted: Sun Sep 16, 2007 07:26 PM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Important fix
Posted: Sun Sep 16, 2007 09:18 PM
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,
many thanks.
Ciao, best regards,

Ugo
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Important fix
Posted: Sun Sep 16, 2007 09:34 PM
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.


Yes! Wonderful improvement! It works with bitmap backgrounds too.

EMG
Posts: 283
Joined: Sat Oct 15, 2005 06:40 AM
Important fix
Posted: Sun Sep 16, 2007 09:52 PM
EnricoMaria wrote:Yes! Wonderful improvement! It works with bitmap backgrounds too.
Antonio and Enrico,
i do not found any difference with Vista Business, is possible?
Ciao, best regards,

Ugo
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Important fix
Posted: Sun Sep 16, 2007 11:35 PM

Ugo,

You will not notice it in Vista as Vista has optimized WM_PAINT msgs. But it fails in XP.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 22
Joined: Mon Jul 24, 2006 06:45 AM
Important fix
Posted: Mon Sep 17, 2007 03:51 AM

Hi,

Does anyone can teach me what else and how to do after added the final zero?

Regards,



Andy Tsai
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Important fix
Posted: Mon Sep 17, 2007 06:35 AM

Just compile window.prg and add window.obj to your application, or replace it in FiveH.lib (or FiveHX.lib)

regards, saludos

Antonio Linares
www.fivetechsoft.com