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 control refresh issue

List control refresh issue

Scheduled Pinned Locked Moved C / C++ / MFC
help
2 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
    Andrew Stampor
    wrote on last edited by
    #1

    I am investigating an issue with some software at work and am looking for some suggestions. The software takes messages from a source outside of the application and will display them, one by one, to a list control. The list control is set to have a max size and will delete an entry before inserting one when it has reached its max. The problem is that occassionally, the messages are available at such a fast rate, that they are missed by the application. I have done some experimenting and have found that when a portion of the list control is covered by another window, the messages are no longer being missed. This leads me to believe this is an issue with involving time spent refreshing the control. Any input is appreciated. Thanks. -Andrew

    S 1 Reply Last reply
    0
    • A Andrew Stampor

      I am investigating an issue with some software at work and am looking for some suggestions. The software takes messages from a source outside of the application and will display them, one by one, to a list control. The list control is set to have a max size and will delete an entry before inserting one when it has reached its max. The problem is that occassionally, the messages are available at such a fast rate, that they are missed by the application. I have done some experimenting and have found that when a portion of the list control is covered by another window, the messages are no longer being missed. This leads me to believe this is an issue with involving time spent refreshing the control. Any input is appreciated. Thanks. -Andrew

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      Storing the messages internally and displaying them on demand via a virtual list control sounds like it might work for you. I thought there was an article on the subject here on CP; unfortunately i can't find it now. A Google search should find what you need though. And if words were wisdom, I'd be talking even more.

      The Offspring, I Choose

      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