wich are the parameters for CreateRoundRectRgn function ?
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
wich are the parameters for CreateRoundRectRgn function ?
CreateRoundRectRgn( nLeftRect, nTopRect, nRightRect, nBottomRect, ;
nWidthEllipse, nHeightEllipse )this from xharbour or from c file ?
this from xharbour or from c file ?It's a C function, up to my knowledge there is not such a function in FWH.
I made this but I not Know if it run ok
I think there are other steps to create a round region ..
HB_FUNC ( CREATEROUNDRECTRGN )
{
HWND hWnd = ( HWND ) hb_parnl( 1 ) ;
HRGN hRgn;
RECT rct;
GetClientRect( hWnd, &rct ) ;
hRgn = CreateRoundRectRgn( rct.left, rct.top,
rct.right - rct.left + 1,
rct.bottom - rct.top + 1, hb_parnl( 2 ), hb_parnl( 3 ) ) ;
hb_retnl ((long) hRgn);
}