mity / mctrl

C library providing set of additional user interface controls for Windows, intended to be complementary to standard Win32API controls from USER32.DLL and COMCTL32.DLL.
http://mctrl.org
235 stars 52 forks source link

Grid: Color of divisions not visible on some screens #55

Open mity opened 7 years ago

mity commented 7 years ago

(Copied from #54.)

I wanted to ask how to change the color of the divisions, in some screens of laptop and monitors is not well distinguished, it would be nice to be able to darken the color.

mity commented 7 years ago

Currently the grid control does not allow to change the color. Currently it uses GetThemeSysColor(grid->theme_listview, COLOR_3DFACE) to paint it. I believe it is the same what standard listview control uses to paint divisions between columns (when it has style LVS_REPORT and flag LVS_EX_GRIDLINES set via LVM_SETEXTENDEDLISTVIEWSTYLE).

But support for customizing of the color might perhaps be implemented. I will consider it.