CListcontrol
-
In List control, while using the Scroll bar, how we can know how much rows has went upside if scroling. Thanks
guessing that the list control is in report view, try handling LVN_ENDSCROLL notification from List control. Use GetTopIndex() to get the index of top visible item. That much rows will be on top.
-
In List control, while using the Scroll bar, how we can know how much rows has went upside if scroling. Thanks
You may use the CListCtrl::GetTopIndex, I suppose. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]