Which steps are required to add a column to a list view?
Answer Posted / shadab ali
To add a column in List view, steps are as follows-
1. Create an object of LVCOLUMN structure.
Initilize the structure meeber variable.
2. LVCOLUMN lvcolm
lvcolm.mask=LVCF_TEXT|LVCF_FMT|LVCF_WIDTH|LVCF_SUBITEM;//Var
iable specifying which members contain valid information
lvcolm.fmt=LVCFMT_LEFT;//Alignment of the column header
lvcolm.cx=100;//Width of the column, in pixels
lvcolm.pszText="First"; //column header text
3. ListObj.InsertColumn(0,&lvcolm);
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do I uninstall visual c++?
What is microsoft visual c++ 2008 redistributable and do I need it?
Can I delete old microsoft visual c++?
Explain the important features of vc++?
Do I need the microsoft visual c++?
What is odbc in vc ++?
Explain some of commonly used methods provided by iunknown.
What is vcredist?
Where can I find microsoft visual c++ on my computer?
Can I uninstall visual c++?
What is microsoft visual c++ 2015 redistributable?
How many microsoft visual c++ do you need?
What is microsoft visual c++ used for?
What is cmutex? How can we use it?
Do I need all the microsoft visual c++ redistributable?