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

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

Returns
TRUE if on DWM, FALSE if not.