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 cwinthread class? Explain its advantages.
What are the advantages of a message map
What is an overlapped image?
Name the most commonly used wizards?
What is visual c++ redistributable?
What is visual c++ 2008 redistributable x64?
Name the three types of loops used in C++ programs?
What is odbc in vc ++?
What is the value of the expression a = 42?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
A file a.cpp & B.cpp are complied & linked together in VC++ file a is something like int a =100;, File B is something like extern a; main() { printf("%d",a); }what will be the output.a)100,b)linker error,c)complier error etc etc.
Is visual c++ still used?