DECLARE INTEGER Polygon IN Win32API; INTEGER hdc, STRING @lpPoints, INTEGER nCount lcpoint = "" * Translated from the KB article create the equivalent of a POINT * structure array of three elements lcpoint = IntegerToString(ThisForm.width / 2) lcpoint = lcpoint + IntegerToString(ThisForm.height / 2) lcpoint = lcpoint + IntegerToString(ThisForm.width / 4) lcpoint = lcpoint + IntegerToString(3 * ThisForm.height / 4) lcpoint = lcpoint + IntegerToString(3 * ThisForm.width / 4) lcpoint = lcpoint + IntegerToString(3 * ThisForm.height / 4) * Call the function llresult = Polygon(lnhDC, @lcpoint, 3)The reference to the IntegerToString function above is used to convert the values to the appropriate character string. You can find a copy of it in my recent FAQ documenting a workaround for problems with SYS(2020) and DISKSPACE() functions. It's also (as a class) available in my Obj2Bmp file available for download here.