MFC: CListCtrl with horizontal scroll
Posted on 2011-02-15
I have an application that displays differences between two text files, something similar to comparing functionality of Visual Source Safe.
I am using a CListCtrl with two columns. Some of the lines I display may be very long. Such lines are not displayed in full, but part of them is replaced with "..."
Could you please tell me how I could have horizontal scrollbars in each column?
Also, how could I make both scrollbars work synchronously to make comparison easier, so that dragging one scroll would automatically move another one?