Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Class View in VS 7

Class View in VS 7

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studioquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CreepingFeature
    wrote on last edited by
    #1

    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!

    A 1 Reply Last reply
    0
    • C CreepingFeature

      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!

      A Offline
      A Offline
      Antony M Kancidrowski
      wrote on last edited by
      #2

      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)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups