Hi dear guru!!! I need your help!!! I'm trying to find a way to change background color of checkbox inside CListCtrl, please help me to find a working solution. Maye there is some way to work with CListCtrl subitems inside the OnCtlColor function? I can change the text color and backcolor of CListCtrl, but can't find a way how to change the checkboxes background color...

HBRUSH CZilchDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{

HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);


if ( nCtlColor== CTLCOLOR_LISTBOX)
{

pDC->SetTextColor(RGB(255, 0, 0));
pDC->SetBkMode(TRANSPARENT);
pDC->SetBkColor(RGB(0,255,0));

hbr = m_brush;
}

return hbr;
}