MFC PropertyGrid Control Component have a dark area when refresh the Content or unfold the last subitem. show as the photo(Link the site):
http://bbs.csdn.net/topics/390911289[
^]
Init code:
HDITEM wide, wideSample;
wide.cxy = 160;
wide.mask = HDI_WIDTH;
m_MFCPropertyGridCtrl.GetHeaderCtrl().SetItem(0, new HDITEM(wide));
m_MFCPropertyGridCtrl.EnableHeaderCtrl(false, _T("Name"), _T("Parameter"));
m_MFCPropertyGridCtrl.SetVSDotNetLook();
m_MFCPropertyGridCtrl.MarkModifiedProperties();
m_MFCPropertyGridCtrl.SetAlphabeticMode(false);
m_MFCPropertyGridCtrl.SetShowDragContext();
m_MFCPropertyGridCtrl.SetCustomColors(RGB(245, 245, 245),
RGB(0, 0, 0),
RGB(210, 210, 210), RGB(30, 100, 50), RGB(200, 236, 209), RGB(128, 0, 0), RGB(159, 159, 255));