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. List View

List View

Scheduled Pinned Locked Moved C / C++ / MFC
question
6 Posts 5 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.
  • P Offline
    P Offline
    Peter Liddle
    wrote on last edited by
    #1

    Hey Guys I have created a list view derived class and have passed it in to a Document Template and it displays as a plain white window. I was wondering how do i actually get the list ctrl to appear inside it.

    V L N C 4 Replies Last reply
    0
    • P Peter Liddle

      Hey Guys I have created a list view derived class and have passed it in to a Document Template and it displays as a plain white window. I was wondering how do i actually get the list ctrl to appear inside it.

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      Do you like a grid? Kuphryn

      P 1 Reply Last reply
      0
      • V valikac

        Do you like a grid? Kuphryn

        P Offline
        P Offline
        Peter Liddle
        wrote on last edited by
        #3

        What i want to do is just have a standard list control ie CListctrl displayed inside this CListView. But i can't get the list view to display how to i create the list view inside the window.

        1 Reply Last reply
        0
        • P Peter Liddle

          Hey Guys I have created a list view derived class and have passed it in to a Document Template and it displays as a plain white window. I was wondering how do i actually get the list ctrl to appear inside it.

          L Offline
          L Offline
          loket
          wrote on last edited by
          #4

          You need to superclass it. To hangover to remember how..:) /M


          - Don't sweat the petty things, and don't pet the sweaty things.

          1 Reply Last reply
          0
          • P Peter Liddle

            Hey Guys I have created a list view derived class and have passed it in to a Document Template and it displays as a plain white window. I was wondering how do i actually get the list ctrl to appear inside it.

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #5

            What did you do in the derived class? Usually/normally the listview's underlying listcontrol is neatly drawn inside the view. Are you trying to do any custom painting? Nish


            Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

            1 Reply Last reply
            0
            • P Peter Liddle

              Hey Guys I have created a list view derived class and have passed it in to a Document Template and it displays as a plain white window. I was wondering how do i actually get the list ctrl to appear inside it.

              C Offline
              C Offline
              Chris Losinger
              wrote on last edited by
              #6

              is there any data in it?


              To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses.
                 /. #3848917

              Fractals!

              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