static COLORREF CColorControl::GetColorControlColor( CDialog *dialog, UINT control )
Parameters
Description
These utility functions can be called outside of an instance of CColorControl and are just to make it easier to set or retrieve the color. For example, within an InitDialog of a CDialog derived class, one might write:
SetColorControlColor( this, IDC_COLOR_1, RGB( 255, 0, 0) );