Is there a way to test the current visibility status with a #if condition? I am trying to figure out where visibility hidden is coming from and would like to put something to the effect of #if visibility==hidden #error #endif in my code to try to track this down. Daniel