Olá Antonio,
Ao atualizar para versão FWH 08.10 a classe TGroup está limpando a tela:
Antes da versão 8.10:
http://rapidshare.com/files/170538314/group1.PNG.html
... e depois na 8.10
http://rapidshare.com/files/170538492/group2.PNG.html
Eu descobri que o problema está aqui (CONTROL.PRG):
... e voltou a funcionar ok. Qual seria o código certo para se resolver isto ?
Ao atualizar para versão FWH 08.10 a classe TGroup está limpando a tela:
Antes da versão 8.10:
http://rapidshare.com/files/170538314/group1.PNG.html
... e depois na 8.10
http://rapidshare.com/files/170538492/group2.PNG.html
Eu descobri que o problema está aqui (CONTROL.PRG):
SendMessage( ::oWnd:hWnd, WM_ERASEBKGND, hDC, 0 ) // to properly remove/set the dotted rect//----------------------------------------------------------------------------//
METHOD Colors( hDC ) CLASS TControl
DEFAULT ::nClrText := GetTextColor( hDC ),;
::nClrPane := GetBkColor( hDC ),;
::oBrush := TBrush():New( , ::nClrPane ),;
::lTransparent := .f.
SetTextColor( hDC, ::nClrText )
SetBkColor( hDC, ::nClrPane )
if ::lTransparent
SetBkMode( hDC, 1 ) // TRANSPARENT
if IsAppThemed()
if ! Empty( ::oBrush:hBitmap )
SetBrushOrgEx( hDC, nBmpWidth( ::oBrush:hBitmap ) - ::nLeft, nBmpHeight( ::oBrush:hBitmap ) - ::nTop )
FillRect( hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush )
else // This condition is added by RAMESH BABU P on Nov. 06, 2006
if Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO;TGROUP"
// DrawPBack( ::hWnd, hDC )
ParentImage( ::hWnd, hDC )
**TIVE QUE RETIRAR ISTO SendMessage( ::oWnd:hWnd, WM_ERASEBKGND, hDC, 0 ) // to properly remove/set the dotted rect
endif
endif
endif
else
if IsAppThemed() .and. Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO"
DrawPBack( ::hWnd, hDC )
endif
endif
return ::oBrush:hBrush
//----------------------------------------------------------------------------//... e voltou a funcionar ok. Qual seria o código certo para se resolver isto ?
Obrigado, Regards, Saludos
Rossine.
Harbour and Harbour++
Rossine.
Harbour and Harbour++