ShyFox,
Try this:
Declare Integer SetWindowRgn in user32 ;
Long nhWnd, Long hRgn, Long bRedraw
Declare Long CreateRoundRectRgn in GDI32 ;
Integer nLeft, Integer nTop, ;
Integer nRight, Integer nBottom, ;
Integer nWidthEllipse, Integer nHeightEllipse
x = 10
hRegion = CreateRoundRectRgn(x, x, ;
ThisForm.Width-x, ThisForm.Height-x, 35, 35)
SetWindowRgn(ThisForm.hWnd, hRegion, .T.)
-- AirCon --