Need help using List Control
-
hi all, I'm using List control for displaying the data from database in my MFC dialog box. Along with the database data, i have been using the first coloumn for serial number. After displayin all these information i want access the second coloumn from the list control. Can anybody tell me how to access the second column of List control thanks in advance:confused:
||SnAkeBed||
-
hi all, I'm using List control for displaying the data from database in my MFC dialog box. Along with the database data, i have been using the first coloumn for serial number. After displayin all these information i want access the second coloumn from the list control. Can anybody tell me how to access the second column of List control thanks in advance:confused:
||SnAkeBed||
LVITEM has some members for it iItem,iSubItem. int InsertItem( const LVITEM* pItem );
-
hi all, I'm using List control for displaying the data from database in my MFC dialog box. Along with the database data, i have been using the first coloumn for serial number. After displayin all these information i want access the second coloumn from the list control. Can anybody tell me how to access the second column of List control thanks in advance:confused:
||SnAkeBed||
SnaKeBeD wrote:
Can anybody tell me how to access the second column of List control
Subitem = 1
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne