HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
if( pDC ) {
pDC->SetBkMode(TRANSPARENT);
return (HBRUSH)GetStockObject(NULL_BRUSH);
}
return hbr;

+ Recent posts