General information
Category:
Pictures and Image processing
Thanks, that was very helpful. My form now runs error free, but I dont get a polygon yet, so I'm missing something. This API stuff is pretty new to me.<g> What I've ended up with is a call to each function, as in the KB article. Any more pointers?
...
lnwhandle = _WFindTitl(This.Caption)
lnhDC = _WhToHWnd(lnwhandle)
llresult = Polygon(lnhDC, @Points, 3)
PGRgn = CreatePolygonRgn(@Points, 3, 1)
Brush = GetStockObject(4)
FillRgn(lnhDC, PGRgn, Brush)
*SetWindowRgn(lnhDC, PGRgn, 1)
Deleteobject(Brush)
RETURN
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only