Important fix
- Antonio Linares
- Site Admin
- Posts: 42414
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
Important fix
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!
METHOD EndPaint() INLINE ::nPaintCount--,;
EndPaint( ::hWnd, ::cPS ), ::cPS := nil, ::hDC := nil, 0
It solves painting errors!
- Enrico Maria Giordano
- Posts: 8736
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42414
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42414
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42414
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
- Enrico Maria Giordano
- Posts: 8736
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Important fix
Antonio,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!
My version "FWHX 7.04" ix fixable?
can you post the little sample for test the fix?
Ciao, best regards,
Ugo
Ugo
- Antonio Linares
- Site Admin
- Posts: 42414
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
- Enrico Maria Giordano
- Posts: 8736
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42414
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42414
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact: