BCGControlBar Pro for MFC
BOOL CBCGPToolbarButton::IsOnGlass ( ) const
inline

Checks if button is located on DWM ("Glass") area of the parent toolbar.

Returns
TRUE if on DWM, FALSE if not.