SetRgnBorder example for C++ Builder
void TForm1::SetRgn ( L_INT x, L_INT y, COLORREF crBorder ) { LEADImage1->SetRgnBorder( x, y, crBorder, RGB(20,30,15), RGB(15,30,10), L_RGN_SET ); LEADImage1->RgnFrameType= ftAnimated; }