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. problem in CListCtrl

problem in CListCtrl

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

    i have a list control its CListCtrl When i drag scroll bar with mouse the rows will get scrolled fine but when i click in the middle of the scroll bar the rows get discarded I attached the image… u can understand what I am saying by viewing the picture( I donno how to attach image in here... how can i do that)? here is the link i attached the image in codeguru http://www.codeguru.com/forum/showthread.php?p=1743407#post1743407[^] What is the problem in here and how to rectify? Any body has got any idea? Please help me out Thanx in advance

    N 1 Reply Last reply
    0
    • S sarat12in

      i have a list control its CListCtrl When i drag scroll bar with mouse the rows will get scrolled fine but when i click in the middle of the scroll bar the rows get discarded I attached the image… u can understand what I am saying by viewing the picture( I donno how to attach image in here... how can i do that)? here is the link i attached the image in codeguru http://www.codeguru.com/forum/showthread.php?p=1743407#post1743407[^] What is the problem in here and how to rectify? Any body has got any idea? Please help me out Thanx in advance

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      Can you check the values of "line" and "page" scroll in your control? It seems that it doesn't match, and that the control is not erasing the previous lines. BTW, a bit of your code (creation and/or both click messages) would be helpfull

      Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

      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