BCGSuite for MFC
BOOL BCGP_GRID_COLOR_DATA::ColorData::Draw ( CDC *  pDC,
CRect  rect,
BOOL  bNoBorder = FALSE 
)

Draws.

Parameters
pDCA device-context.
rectRectangle to draw in.
bNoBorderIf nonzero, the function does not paint border.
Returns
if ColorData has valid color and painting was done. FALSE, if ColorData has empty colors.

Call this function for default painting in the specified rectangle using ColorData's colors.