set() does not configure BarMode. And don’t use OFF. Use the setf and resf macros on the BarMode int.