GetScrollInfo

SetScrollInfo

SB_VERT、SB_HORZ、SB_CTL

 https://msdn.microsoft.com/zh-cn/dynamics/bb787587%28v=vs.90%29

    TScrollInfo ScrollInfo;
    ScrollInfo.cbSize = sizeof( ScrollInfo );
    ScrollInfo.fMask = SIF_ALL;
    GetScrollInfo( ListView1->Handle, SB_HORZ, & ScrollInfo );

//    ListView1->Scroll(ScrollInfo.nMax,0);
//    ListView_Scroll(ListView1->Handle, ScrollInfo.nMax, 0);
    SendMessage(ListView1->Handle, LVM_SCROLL, ScrollInfo.nMax, 0);
//    ListView1->ScrollBy();

 

posted on 2015-11-25 20:40  lypzxy  阅读(218)  评论(0编辑  收藏  举报