BCGControlBar Pro for MFC
BOOL BCGPGLOBAL_DATA::bIsWindowsVista

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