mvp_tips/CPUID/CPUID/Block.cpp
COLORREF CBlock::GetBrushColor(CBrush & br)
    {
     if(br.GetSafeHandle() == NULL)
        return RGB(255, 255, 255);

     LOGBRUSH LB;
     bkgnd.GetLogBrush(&LB);
     return LB.lbColor;
     
    }
/****************************************************************************
*                            CBlock::GetBrushColor
* Inputs:
*       CBrush & r: Brush to report on
* Result: COLORREF
*       The color of the brush
*       Default color if the brush is not real
****************************************************************************/
:GetBrushColor
Inputs:
CBrush & r: Brush to report on
Result: COLORREF
The color of the brush
Default color if the brush is not real
: GetBrushColor Inputs : CBrush & r : Brush to report on Result : COLORREF The color of the brush Default color if the brush is not real
COLORREF CBlock::GetBrushColor(CBrush & br)
    {
     if(br.GetSafeHandle() == NULL)
        return RGB(255, 255, 255);
     LOGBRUSH LB;
     bkgnd.GetLogBrush(&LB);
     return LB.lbColor;
    }
COLORREF CBlock :: GetBrushColor ( CBrush & br ) { if ( br . GetSafeHandle ( ) == NULL ) return RGB ( 255 , 255 , 255 ) ; LOGBRUSH LB ; bkgnd . GetLogBrush ( & LB ) ; return LB . lbColor ; }
CBlock::GetBrushColor
Inputs:
CBrush & r: Brush to report on
Result: COLORREF
The color of the brush
Default color if the brush is not real
CBlock :: GetBrushColor Inputs : CBrush & r : Brush to report on Result : COLORREF The color of the brush Default color if the brush is not real