how come when i do this it works:



outline = CreateEllipticRgn(0, 0, 137, 157)
SetWindowRgn form1.hwnd, outline, True
DeleteObject outline

but if i use findwindow and pass a different windows handle it doesn't?