|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Offer Har
|
Mar 22, 2007 - 4:03 PM
|
Dear Support,
I am trying to make a property grid have white on black text. I was able to change the background color of the internal grid, and change the text of the value cells, which I implement. I don’t know how the change the label column’s text color (the left column)
Thanks, Ron.
|
|
Offer Har
|
Mar 23, 2007 - 7:47 AM
|
Found it. I override this function of the grid:
virtual COLORREF OnGridCellQueryTextColor(
const CExtGridCell & _cell,
CDC & dc,
LONG nVisibleColNo,
LONG nVisibleRowNo,
LONG nColNo,
LONG nRowNo,
INT nColType,
INT nRowType,
DWORD dwAreaFlags,
DWORD dwHelperPaintFlags
) const
{
return RGB(255,255,255);
}
|
|