How to read data from a gridline
-
Hi, i have created the grid lines using CListCtrl (report view) and inserted data from the database.Now i want to read the data by just clicking on it.How can I read it? Please help me. Thanks in advance. Tejaswini
-
Hi, i have created the grid lines using CListCtrl (report view) and inserted data from the database.Now i want to read the data by just clicking on it.How can I read it? Please help me. Thanks in advance. Tejaswini
-
toogud wrote:
ur question is not clear.....
may i tell you that your english writing neither ?
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
Hi, i have created the grid lines using CListCtrl (report view) and inserted data from the database.Now i want to read the data by just clicking on it.How can I read it? Please help me. Thanks in advance. Tejaswini
I have used CListCtrl in report view and style as LVS_EX_GRIDLINES to get the gridlines.I succesfully got the grid lines.In the columns of the gird lines I inserted data from database. Now if I click on any of the row i want to get the data which is already in it . -- modified at 5:53 Wednesday 19th July, 2006
-
Hi, i have created the grid lines using CListCtrl (report view) and inserted data from the database.Now i want to read the data by just clicking on it.How can I read it? Please help me. Thanks in advance. Tejaswini
For reading data from the row(items) u can use getitemtext. Thanks
-
For reading data from the row(items) u can use getitemtext. Thanks
for using getItemText() method i have to pass the index of the item and subitem.But how can i know the index.(User may click any of the row item) Thank u.
-
for using getItemText() method i have to pass the index of the item and subitem.But how can i know the index.(User may click any of the row item) Thank u.
-
for using getItemText() method i have to pass the index of the item and subitem.But how can i know the index.(User may click any of the row item) Thank u.
-
Thank u Dreamz, I got the solution based on u r idea.
-
for using getItemText() method i have to pass the index of the item and subitem.But how can i know the index.(User may click any of the row item) Thank u.
tejaswini.g wrote:
But how can i know the index.(
It's passed to your
LVN_ITEMCHANGED
handler. You can also get it viaGetNextItem()
.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb