BCGControlBar Pro for MFC
BOOL CBCGPRatingCtrl::SetMaxRating ( int  MaxRating,
BOOL  bRedraw = TRUE 
)

Specifies the maximal rating value (number of the stars).

Parameters
MaxRatingThe maximal rating value.
bRedrawSpecifies whether a control should be redrawn.