Objective Grid: Increasing the thickness of the line separating columns

Article ID: 69
Last updated: 16 Apr, 2018
Article ID: 69
Last updated: 16 Apr, 2018
Revision: 3
Views: 1626
Posted: 19 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


How do I make the line that separates the frozen and non-frozen columns thicker (say 2 pixels)? I know I can change the color, but I do not want to use a flashy color to make it standout.


Cause



Action


With GetProperties()->SetColor(gxnPropFixedLines), set the color to black.

Moreover, override GetStyleRowCol() and call:

if (nCol == GetFrozenCols())
{
style.SetBorders(gxBorderRight, CGXPen(PS_SOLID, 2, RGB(0,0,0));
}

This article was:   Helpful | Not helpful
Report an issue
Article ID: 69
Last updated: 16 Apr, 2018
Revision: 3
Views: 1626
Posted: 19 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category