Class View in VS 7
-
In VS, there is a window that shows solutions, classes etc. :doh: If in class view you can see all components of that class. If the class contains enums etc. you can see all of the components by name in their respective groups. Say:
Enums ----balahBlah ------bl ------bla ------blah
(Dont mind the ----) The elements of enums etc. are listed by name but in case of enums the named values are actualy type int. Q: Is there a way to force VS to organize the elements by value? (VS only organizes by name, access, and group!) Eg. If say blah = 0; it should be first in the list and if bla = 2; it should be last. Thanks in advance! -
In VS, there is a window that shows solutions, classes etc. :doh: If in class view you can see all components of that class. If the class contains enums etc. you can see all of the components by name in their respective groups. Say:
Enums ----balahBlah ------bl ------bla ------blah
(Dont mind the ----) The elements of enums etc. are listed by name but in case of enums the named values are actualy type int. Q: Is there a way to force VS to organize the elements by value? (VS only organizes by name, access, and group!) Eg. If say blah = 0; it should be first in the list and if bla = 2; it should be last. Thanks in advance!Sorry, I have not been able to find such! If you really want the enum items in order you could write enum { blah = 0 }; enum { bl = 1 }; enum { bla = 2 }; and they will appear in that order in the class view. Though this seems a bit overkill for me! Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)