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. SDI Project Question

SDI Project Question

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestioncomhelp
3 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.
  • A Offline
    A Offline
    Arrin
    wrote on last edited by
    #1

    Hi community, i use this example from codeproject: Creating your first Windows application[^] to learn more about SDI Programing, and later about MDI. Now i try to add a CListCtrl to show some Data in the list, but where to initialize a CListCtrl as a member? In my class derived from CView, or something else? In Dialogbased Application i know how to do this, but not here :( Or is here a example to learn more about SDI and MDI programing? Best regards,thanks for any help Arrin

    D 1 Reply Last reply
    0
    • A Arrin

      Hi community, i use this example from codeproject: Creating your first Windows application[^] to learn more about SDI Programing, and later about MDI. Now i try to add a CListCtrl to show some Data in the list, but where to initialize a CListCtrl as a member? In my class derived from CView, or something else? In Dialogbased Application i know how to do this, but not here :( Or is here a example to learn more about SDI and MDI programing? Best regards,thanks for any help Arrin

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

      Using the MFC Application Wizard to create the project, you opted for Single Document, correct? On the Generated Classes screen, you could have CListView as the base class for the view.

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

      A 1 Reply Last reply
      0
      • D David Crow

        Using the MFC Application Wizard to create the project, you opted for Single Document, correct? On the Generated Classes screen, you could have CListView as the base class for the view.

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        A Offline
        A Offline
        Arrin
        wrote on last edited by
        #3

        Hi, thank you very much, it works :D, my first listview :D Now i can extend my App an learn more :D Best regards Arrin.

        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