|
From: Landon on 12 May 2008 21:34 I use Visual C++ 4.2 Professional. I use the CListCtrl to display all data. I don't create the CListCtrl dynamically but from design form where I drag it onto the form. When user click a button, it will get the selected items and get the item data pointer. So I must check if the item has been selected or not. How to find out if the item has been selected or not when I click the button? Thank you very much.
From: David Lowndes on 13 May 2008 04:40 >So I must check if the item has been selected or not. >How to find out if the item has been selected or not when I click the button? Use GetNextItem to find items that have LVNI_SELECTED. Dave
|
Pages: 1 Prev: How to capture toolbar button command Next: center pane text of a CStatusBar |