Which steps are required to add a column to a list view?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / poonam
i want to know list view indicates list box or list control
please explain that...
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the return value when the InsertItem function fails?
What property is used to indicate that the up-down control is associated with a buddy control?
What is visual c++ redistributable?
What is the difference between the client and non-client areas?
Do I need ms visual c++ on my computer?
How do I fix microsoft visual c++ 2015 setup failed?
How do I remove microsoft visual c++ 2015 redistributable?
What is the difference between an MLE and an SLE?
What is odbc in vc ++?
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
Explain pointer to the constant and constant pointer? Explain difference between them.
How do I uninstall vc++ 2015?