you can add column by use InsertColumn(ncolumn,label,nFormat==0,nWidth) this is a member function of list control and use member function InsertItem by int nitem=list->InsertItem(0,text) for first column of a row and use member function SetItemText(nitem,ncolumn,text) Finally, I advise you to watch the video again, thank you 😃
@@Technology21 Actually, I have understood the adding column part. I wanted to know If I can create border of the columns like creating them as cells of excels by giving them visual separators. In the video, you have created a table, but there is no visual line which separates them.
@@mirniazahmed7708 I think this is not possible in the original tool, but you can use a modified tool by following the following link www.codeproject.com/Tips/811180/A-Tiny-Custom-List-Control
@@mirniazahmed7708 You can also make a frame for the table in this article learn.microsoft.com/en-us/cpp/mfc/reference/clistctrl-class?view=msvc-170#create
here how to connect microsoft access database with a MFC program i think it is useful to save data in microsoft access database file ua-cam.com/video/OQLkUH4cmzI/v-deo.html&si=EnSIkaIECMiOmarE
How can I add the column and row dividers here?
you can add column by use InsertColumn(ncolumn,label,nFormat==0,nWidth)
this is a member function of list control and use member function InsertItem by
int nitem=list->InsertItem(0,text) for first column of a row and use member function SetItemText(nitem,ncolumn,text)
Finally, I advise you to watch the video again, thank you 😃
@@Technology21 Actually, I have understood the adding column part. I wanted to know If I can create border of the columns like creating them as cells of excels by giving them visual separators. In the video, you have created a table, but there is no visual line which separates them.
@@mirniazahmed7708 I think this is not possible in the original tool, but you can use a modified tool by following the following link www.codeproject.com/Tips/811180/A-Tiny-Custom-List-Control
@@mirniazahmed7708 You can also make a frame for the table in this article
learn.microsoft.com/en-us/cpp/mfc/reference/clistctrl-class?view=msvc-170#create
How to send list control data to files
here how to connect microsoft access database with a MFC program i think it is useful to save data in microsoft access database file
ua-cam.com/video/OQLkUH4cmzI/v-deo.html&si=EnSIkaIECMiOmarE