The sample project ..\CVI\samples\userint\custctrl\easytab\tabdemo.prj, which ships with CVI, shows how to dim tabs. Search for ATTR_EASY_TAB_DIMMED.
This example is a little complicated by the use of a structure and pointers to the structure elements, but it might help.