In VS2005 I'm finding that some (C++) class member functions are greyed out in the wizard bar (the horizontal toolbar at the top of the editor window with 2 dropdown lists, classes and class member functions). Also, if I double click on these ones in the Class View (tree control) I go to the declaration in the .h file rather than the definition in the .cpp file.
Why is this I can't see anything too odd in my code layout and in VS2003 this was not happening.
Is this a new 'feature' If it's a feature, is it possible to turn it off, as navigating my code is no fun at the moment
TIA.
Pete

Greyed out class member functions in wizard bar / Class View goes to .h
kaushalparik
I think the graying out indicates that those functions are not in the file that's active (the active tab), but in a different file (possibly open in a different tab).
And as to it jumping to the declaration rather than to the definition, I get that too - randomly. It's more likely a bug than a feature that got turned on accidentally.
BuffaloUS
Thanks Nishant! I think you are right! The file that was particularly suffering from this is not in my project folder (though included in my Solution Explorer file list).
I have suffered from another problem, which I think has caused this one. When I Add a member function using the right-click menu on Class View the implementation of the new function gets put in a new cpp file in my project folder, rather than the cpp file in the 'other' folder. Strangely, the declaration is added to the .h file in the 'other' folder.
So I manually correct my mistake, but presumably the IDE does not pick up the change and still thinks it's in the cpp file it created (even though I've used the new 'Delete' feature in Solution Explorer!), so the functions that were created in this way are greyed when they shouldn't be.
I will have to research which file to delete and regenerate to clean this up.
Thanks for listening!
Pete