// Change any attributes of the DC here
CBrush m_HollowBrush;
// Return a different brush if the default is not desired
// let static controls shine through
switch(nCtlColor) {
case CTLCOLOR_STATIC :
case CTLCOLOR_BTN:
case CTLCOLOR_MSGBOX:
pDC->SetBkMode(TRANSPARENT);
VERIFY(m_HollowBrush.CreateStockObject(HOLLOW_BRUSH));
return HBRUSH(m_HollowBrush);
default:
break;
}
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.