Need 98/2000/xp or laterBOOL GradientFill( HDC hdc, // handle to DC PTRIVERTEX pVertex, // array of vertices ULONG dwNumVertex, // number of vertices PVOID pMesh, // array of gradients ULONG dwNumMesh, // size of gradient array ULONG dwMode // gradient fill mode ); Turn to MSDN for more help
CreatePen(RGB(z,z,z))
SelectObject()
MoveTo()
LineTo()
DeleteObject()
HDC hdc, // handle to DC
PTRIVERTEX pVertex, // array of vertices
ULONG dwNumVertex, // number of vertices
PVOID pMesh, // array of gradients
ULONG dwNumMesh, // size of gradient array
ULONG dwMode // gradient fill mode
); Turn to MSDN for more help