MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / OnSubItemPrePaint

Function OnSubItemPrePaint

Libraries/PropertyGrid/PropertyGrid.h:1155–1164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1153 }
1154
1155 DWORD OnSubItemPrePaint(int /*idCtrl*/, LPNMCUSTOMDRAW lpNMCustomDraw)
1156 {
1157 T* pT = static_cast<T*>(this);
1158 LPNMLVCUSTOMDRAW lpNMLVCustomDraw = (LPNMLVCUSTOMDRAW) lpNMCustomDraw;
1159 pT->DrawItem(lpNMLVCustomDraw->nmcd.hdc,
1160 (int) lpNMLVCustomDraw->nmcd.dwItemSpec,
1161 lpNMLVCustomDraw->iSubItem,
1162 lpNMLVCustomDraw->nmcd.uItemState);
1163 return CDRF_SKIPDEFAULT;
1164 }
1165
1166 // Overridables
1167

Callers

nothing calls this directly

Calls 1

DrawItemMethod · 0.80

Tested by

no test coverage detected