BCGControlBar Pro for MFC
BOOL BCGPGLOBAL_DATA::bIsWindows7

Specifies whether the application is running under Windows 7 or later.