En C++ no sé cómo sería el código, no escribo en ese lenguage. Pero en Delphi tu código más o menos debería ser así:
Código Delphi
[-]
if (ADOQuey.RecNo mod 2) then
begin
if not (gdsSelected in State) then
DBGrid1.Canvas.Brush.Color := ;
end;
DBGrid1->DefaultDrawColumnCell(Rect,DataCol,Column,State);