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...


What function is used to retrieve the currently selected
index in a list box?

Answers were Sorted based on User's Feedback



What function is used to retrieve the currently selected index in a list box? ..

Answer / arvin

GetCurSel() will be used to retrieve the index number and
GetText() is used to retrieve the text.

Example
int index;
CString strText;
index = m_ctlListBox.GetCurSel();
m_ListBox.GetText(index,strText);

Is This Answer Correct ?    6 Yes 0 No

What function is used to retrieve the currently selected index in a list box? ..

Answer / rani

GetCurSel()

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More MFC Interview Questions

What is #progma and where it is used?

5 Answers   L&T,


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


If application hangs while SendMessage is waiting for the result, how you handle it?

2 Answers  


What is the size of class

18 Answers   Aircom,


How to setup a timer?

3 Answers   IBM,


What?s the difference between Modal and Modeless Dialog?

12 Answers   Jekson, Usl India,


what is the updated verssion in vc++

3 Answers   Aspect,


Which CPrintInfo member variable must be set for multiple page printouts?

1 Answers  


1) Enable or disable a Cancel button at run time?

1 Answers   HCL,


How to update windows title bar dynamically?

7 Answers   HCL,


1) How do you Destroy a Dialog Box ?

2 Answers   Honeywell,


How can update edit control data of an executing application from other application?

3 Answers   HP,


Categories