Iam getting wrong colouring when I use #ifdef or #ifndef in my code. If the #define is in the cpp file then all is OK, but if its in a header file then it doesnt work.
If you are talking about graying out inactive source code: it is an IDE feature, and not related to Visual Assist. It is done by IDE's own Intellisense, so if you have turned off default intellisense (for example by renaming feacp.dll), it can be the reason.