Antonio, in this context i point to a bug in HB_FUNC( ROUNDRECT ) // hDC, nLeftRect, nTopRect, nRightRect, nBottomRect, nEllipseWidth, nEllipseHeight, hPen )
There are also changed left and top bzw. right and bottom
Should be
Also the documentation is wrong.
Please call rectangle(...) an roundrect(...) with same parameters! Should be same direction and size!
There are also changed left and top bzw. right and bottom
 BOOL bResult = RoundRect( hDC, hb_parnl( 2 ), hb_parnl( 3 ), hb_parnl( 4 ),
               hb_parnl( 5 ), hb_parnl( 6 ), hb_parnl( 7 ) )Should be
 BOOL bResult = RoundRect( hDC, hb_parnl( 3 ), hb_parnl( 2 ), hb_parnl( 5 ),
               hb_parnl( 4 ), hb_parnl( 6 ), hb_parnl( 7 ) )Also the documentation is wrong.
Please call rectangle(...) an roundrect(...) with same parameters! Should be same direction and size!