Select individual subitem cell in CListCtrl
-
Hi all, In a CListCtrl, is that the user can only select the ITEM ? Can the subitem in other column be selected individually too( only select the subitem )?? If can't, what should I use other than CListCtrl if I want to select cells horizontally ? Please help! Thanks! Vickie
-
Hi all, In a CListCtrl, is that the user can only select the ITEM ? Can the subitem in other column be selected individually too( only select the subitem )?? If can't, what should I use other than CListCtrl if I want to select cells horizontally ? Please help! Thanks! Vickie
u could either look around for an enhanced version of the clistctrl that allows individual cells to be selected / edited or you could (as i said before) use a grid control (there's a very cool one here on codeproject) :suss: --- "every year we invent better idiot proof systems and every year they invent better idiots"
-
Hi all, In a CListCtrl, is that the user can only select the ITEM ? Can the subitem in other column be selected individually too( only select the subitem )?? If can't, what should I use other than CListCtrl if I want to select cells horizontally ? Please help! Thanks! Vickie
> Hi all, In a CListCtrl, is that the user can only select the ITEM Yep. > Can the subitem in other column be selected individually too( only select the subitem )?? Not normally, no. (At least, not that *I* know of.) > If can't, what should I use other than CListCtrl if I want to select cells horizontally ? There are various Grid and Grid-like controls out there that may give you this functionality. On a previous Brokerage-related project, I needed this same functionality. I ended up using the Custom Draw features of the ListView control to simulate it. Using Custom Draw, you can highlight a specific column in the control. If you have some other way to keep track of the current "column selection", you can simulate column selection/highlighting. Peace! -=- James.