Lautaro...
prueba con estos cambios y nos comentas para incluirlos en la proxima version
agrega esta funcion al final de tu PRG principal
#pragma BEGINDUMP
#include <hbapi.h>
#include <windows.h>
HBITMAP MakeBkBmpEx( HWND hWnd, int iTop, int iLeft, int iWidth, int iHeight )
{
HDC hDC = GetDC( hWnd );
HDC hDC2;
HBITMAP hBmp, hBmpOld;
hDC2 = CreateCompatibleDC( hDC );
hBmp = CreateCompatibleBitmap( hDC, iWidth, iHeight );
hBmpOld = ( HBITMAP ) SelectObject( hDC2, hBmp );
BitBlt( hDC2, 0, 0, iWidth, iHeight, hDC, iLeft, iTop, SRCCOPY );
SelectObject( hDC2, hBmpOld );
DeleteDC( hDC );
DeleteDC( hDC2 );
return hBmp;
}
HB_FUNC( MAKEBKBMPEX )// hWnd, nTop, nLeft, nWidth, nHeight --> hBmp
{
hb_retnl( ( LONG ) MakeBkBmpEx( ( HWND ) hb_parnl( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) ) ) ;
}
#pragma ENDDUMP
substituye la llamada a ParentCapture en las clases trbgroup y trbtn
por esta linea
hCapture = MakeBkBmpEx( ::hWnd, aRect[ 1 ], aRect[ 2 ], ::nWidth, ::nHeight )