Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is cmutex?

1033


What is the Use of the Developer Studio Editor?

2659


What is visual c++ redistributable?

1254


Can I delete old microsoft visual c++?

1020


Is it ok to uninstall microsoft visual c++?

1137


What is odbc in vc ++?

1181


What is microsoft visual c++ 2013 redistributable?

1118


Explain the advantages of cwinthread class.

1034


Difference between critical section, mutex and semaphore.

1154


difference between assert and verify.

1047


Is visual c++ the same as c++?

1140


What is microsoft visual c++ 2008 redistributable and do I need it?

1068


Is microsoft visual c++ a virus?

1232


Where can I find microsoft visual c++ on my computer?

1062


What is vcredist?

1194