BCGSuite for MFC
BOOL CBCGPRatingCtrl::SetMaxRating ( int  nMaxRating,
BOOL  bRedraw = TRUE 
)

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

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