rt......

解决方案 »

  1.   

    http://msdn.microsoft.com/en-us/library/bb787541(VS.85).aspx
      

  2.   

    那怎么获得listview的滚动条?
      

  3.   

    不需要,直接对 listview 的 handle 发就可以了。
      

  4.   

    http://msdn.microsoft.com/en-us/library/bb787585(v=VS.85).aspx
    SB_HORZ Retrieves the position of the scroll box in a window's standard horizontal scroll bar.水平
     
    SB_VERT Retrieves the position of the scroll box in a window's standard vertical scroll bar.垂直
     
      

  5.   

    感谢你的回复!
    GetScrollPos是对滚动条的,要调用的话还是要得到滚动条句柄;
    直接对listview调用,又没法区分横还是竖
      

  6.   

    http://topic.csdn.net/u/20070626/00/2adb6daf-e594-4234-8913-87c709e024aa.html看上去 subclass listview,不断记录滚动条变化是可行的。
      

  7.   

    拦截wm_hscroll,wm_vscroll消息,获得位置值即可