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. getting the class members to pop up?

getting the class members to pop up?

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
5 Posts 3 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.
  • L Offline
    L Offline
    ldsdbomber
    wrote on last edited by
    #1

    Can someone remind me what the required step is so that if you add in a header and source file from an article here to be included in your project (eg MFC dialog), you get the class members to pop up when you hit a "." or "->" operator on an object. t.i.a

    D 1 Reply Last reply
    0
    • L ldsdbomber

      Can someone remind me what the required step is so that if you add in a header and source file from an article here to be included in your project (eg MFC dialog), you get the class members to pop up when you hit a "." or "->" operator on an object. t.i.a

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Nothing special is required. You may need to rebuild the .clw file, however.


      "A good athlete is the result of a good and worthy opponent." - David Crow

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      L 1 Reply Last reply
      0
      • D David Crow

        Nothing special is required. You may need to rebuild the .clw file, however.


        "A good athlete is the result of a good and worthy opponent." - David Crow

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        L Offline
        L Offline
        ldsdbomber
        wrote on last edited by
        #3

        hmm, I tried this but no joy so far. I've added Cedric Moonens CCHartCtrl files to my project and make use of them on a dialog with a graph. I know it all works properly, but for example where I have CChartSerie* pLineSerieCol = m_ChartCtrl.AddSerie(CChartSerie::stLineSerie); pLineSerieCol->SetName("Energy Data"); pLineSerieCol->SetColor(0x00ff0000); at the "->" it refuses to pop up the available methods of the class. I've manually deleted the .clw file, tried rebuild all and also opened class wizard with the clw file missing to force it to rebuild and checked that the source files are all included, but no joy as yet. I wonder if it is humanly possible to feel more like a muppet than I do today

        D 1 Reply Last reply
        0
        • L ldsdbomber

          hmm, I tried this but no joy so far. I've added Cedric Moonens CCHartCtrl files to my project and make use of them on a dialog with a graph. I know it all works properly, but for example where I have CChartSerie* pLineSerieCol = m_ChartCtrl.AddSerie(CChartSerie::stLineSerie); pLineSerieCol->SetName("Energy Data"); pLineSerieCol->SetColor(0x00ff0000); at the "->" it refuses to pop up the available methods of the class. I've manually deleted the .clw file, tried rebuild all and also opened class wizard with the clw file missing to force it to rebuild and checked that the source files are all included, but no joy as yet. I wonder if it is humanly possible to feel more like a muppet than I do today

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          ldsdbomber wrote:

          ...at the "->" it refuses to pop up the available methods of the class.

          I've had this happen in a few instances where the method that I was currently in had not yet been added to the class. For example:

          void MyClass:DoSomething( void )
          {
          CChartSerie* pLineSerieCol = m_ChartCtrl.AddSerie(CChartSerie::stLineSerie);
          pLineSerieCol->SetName("Energy Data");
          pLineSerieCol->SetColor(0x00ff0000);
          }

          If the DoSomething() method had not yet been added to MyClass, then Intellisense would fail to work. This does not appear to be the case with you however.

          ldsdbomber wrote:

          I wonder if it is humanly possible to feel more like a muppet than I do today

          Only if you are you sprouting fur in odd places.


          "A good athlete is the result of a good and worthy opponent." - David Crow

          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

          V 1 Reply Last reply
          0
          • D David Crow

            ldsdbomber wrote:

            ...at the "->" it refuses to pop up the available methods of the class.

            I've had this happen in a few instances where the method that I was currently in had not yet been added to the class. For example:

            void MyClass:DoSomething( void )
            {
            CChartSerie* pLineSerieCol = m_ChartCtrl.AddSerie(CChartSerie::stLineSerie);
            pLineSerieCol->SetName("Energy Data");
            pLineSerieCol->SetColor(0x00ff0000);
            }

            If the DoSomething() method had not yet been added to MyClass, then Intellisense would fail to work. This does not appear to be the case with you however.

            ldsdbomber wrote:

            I wonder if it is humanly possible to feel more like a muppet than I do today

            Only if you are you sprouting fur in odd places.


            "A good athlete is the result of a good and worthy opponent." - David Crow

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            V Offline
            V Offline
            Vaclav_
            wrote on last edited by
            #5

            It's not easy being green..... A small tribute to Jim Hanson who made us happy without computers, cell phones and other gizmos.

            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