ArrayCtrl.h static inline void EvenRowColor(Color& paper, Color& ink) { paper = Blend(SColorMark, SColorPaper, 220); ink = SColorText; } static inline void OddRowColor(Color& paper, Color& ink) { paper = SColorInfo; ink = SColorText; } somewhere where EvenRowColor needed ArrayCtrl::Style st; //.h //.cpp, ctor st = ArrayCtrl::StyleDefault(); ArrayCtrl::EvenRowColor(st.evenpaper, st.evenink); list.SetStyle(st);
Report message to a moderator