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. CListCtrl: Automatic Scroll Down

CListCtrl: Automatic Scroll Down

Scheduled Pinned Locked Moved C / C++ / MFC
help
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.
  • R Offline
    R Offline
    romuzu
    wrote on last edited by
    #1

    I'm making a data logger using a CListCtrl. my problem is when the List are populated with new data (take note that the vertical scroll will now appear because the display screen is maximized and new data is coming).the user needs to scroll down to see the newly inserted item at the bottom of the list what I want to happen is to make the vertical scroll, to scroll-downwards automatically so that the LATEST data received can be easily seen during actual logging of data. Therefore, the user will no longer have to scroll down to see the latest data logged or the newly inserted item. -- modified at 8:32 Friday 13th January, 2006

    K R 2 Replies Last reply
    0
    • R romuzu

      I'm making a data logger using a CListCtrl. my problem is when the List are populated with new data (take note that the vertical scroll will now appear because the display screen is maximized and new data is coming).the user needs to scroll down to see the newly inserted item at the bottom of the list what I want to happen is to make the vertical scroll, to scroll-downwards automatically so that the LATEST data received can be easily seen during actual logging of data. Therefore, the user will no longer have to scroll down to see the latest data logged or the newly inserted item. -- modified at 8:32 Friday 13th January, 2006

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

      What's wrong with the answers you already have got? :confused:

      1 Reply Last reply
      0
      • R romuzu

        I'm making a data logger using a CListCtrl. my problem is when the List are populated with new data (take note that the vertical scroll will now appear because the display screen is maximized and new data is coming).the user needs to scroll down to see the newly inserted item at the bottom of the list what I want to happen is to make the vertical scroll, to scroll-downwards automatically so that the LATEST data received can be easily seen during actual logging of data. Therefore, the user will no longer have to scroll down to see the latest data logged or the newly inserted item. -- modified at 8:32 Friday 13th January, 2006

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #3

        You had posted this yesterday I believe. I had given the solution too, Did that not work or is that you did not know how to do it? If so please let us know. We can explain you in steps how to do that. Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

        R 1 Reply Last reply
        0
        • R Rajesh R Subramanian

          You had posted this yesterday I believe. I had given the solution too, Did that not work or is that you did not know how to do it? If so please let us know. We can explain you in steps how to do that. Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

          R Offline
          R Offline
          romuzu
          wrote on last edited by
          #4

          EnsureWindow() worked!.Thanks!It was a great help!:)

          R 1 Reply Last reply
          0
          • R romuzu

            EnsureWindow() worked!.Thanks!It was a great help!:)

            R Offline
            R Offline
            Rajesh R Subramanian
            wrote on last edited by
            #5

            It is EnsureVisible() Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

            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