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?

Answers were Sorted based on User's Feedback



Which steps are required to add a column to a list view? ..

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

Which steps are required to add a column to a list view? ..

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

Post New Answer

More VC++ AllOther Interview Questions

Explain some of commonly used methods provided by iunknown.

0 Answers  


What is the purpose of a C++ namespace?

2 Answers  


What is a transparent image?

1 Answers  


What is iunknown? Explain some of commonly used methods provided by iunknown.

0 Answers  


What is microsoft visual c++ 2008 redistributable?

0 Answers  


What is cmutex? How can we use it?

0 Answers  


What is the difference between serialization and deserialization?

4 Answers   Cap Gemini, HCL, MBT,


What Is Your Greatest Weakness?

4 Answers   Apple, Infosys, IOCL, Servion, TCS, VisionTek,


What is vcredist?

0 Answers  


What is the difference between the = and == operators?

1 Answers  


What is visual c++ used for?

0 Answers  


what r the vc++ components

3 Answers  


Categories