ListView (VC 2003)

  • Thread starter Thread starter kelvin.koogan
  • Start date Start date
K

kelvin.koogan

With the ListView in VC2003

1) Is it possible to stop the user re-sizing the columns?

2) Is it possible to tell the real location of a column is the list
area has been scrolled horizontally? e.g. the normal location of the
first column is 0 and of the second column is the width of the first
column. But if the control is scrolled horizontally part of first
column might disappear and X coordinate of left edge of second column
would be less than width of first column.

TIA,
KK
 
Answer to your first question can be found at
msdn.microsoft.com/msdnmag/issues/03/06/CQA. An alternative is to disable
the header control in the listview.
For your second question, i guess you need to call CHeaderCtrl::GetItemRect
 
Back
Top