CDC::GradientFill
Visual Studio 2012
Call this member function to fill rectangle and triangle structures with color that smoothly fades from one side to the other.
BOOL GradientFill( TRIVERTEX* pVertices, ULONG nVertices, void* pMesh, ULONG nMeshElements, DWORD dwMode );