BCGSuite for MFC
BOOL CBCGPRatingCtrl::m_bOnGlass

Specifies whether a control is located on the "glass" (DWM) area of the parent window.

The framework changes this flag automatically, according to current state - you don't have to change it.