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. create dialog with already initilized fields?

create dialog with already initilized fields?

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 4 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.
  • N Offline
    N Offline
    NoName II
    wrote on last edited by
    #1

    there are 2 classes class MyClass1: public CDialog & class MyClass2: public CDialog CObArray m_obArray is protected member of MyClass1 The task is to initialize CListCtrl m_list of MyClass2 with elements of m_obArray

    K D 2 Replies Last reply
    0
    • N NoName II

      there are 2 classes class MyClass1: public CDialog & class MyClass2: public CDialog CObArray m_obArray is protected member of MyClass1 The task is to initialize CListCtrl m_list of MyClass2 with elements of m_obArray

      K Offline
      K Offline
      kakan
      wrote on last edited by
      #2

      And you couldn't even rephrase the task of your homework before posting it?:)

      C N 2 Replies Last reply
      0
      • K kakan

        And you couldn't even rephrase the task of your homework before posting it?:)

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        Too much work ;)


        Cédric Moonen Software developer
        Charting control

        1 Reply Last reply
        0
        • K kakan

          And you couldn't even rephrase the task of your homework before posting it?:)

          N Offline
          N Offline
          NoName II
          wrote on last edited by
          #4

          I couldn't//maybe course it's not homework

          1 Reply Last reply
          0
          • N NoName II

            there are 2 classes class MyClass1: public CDialog & class MyClass2: public CDialog CObArray m_obArray is protected member of MyClass1 The task is to initialize CListCtrl m_list of MyClass2 with elements of m_obArray

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

            MyClass1 will need a 'getter' method that returns a reference/pointer to its m_obArray member.


            "The largest fire starts but with the smallest spark." - David Crow

            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