Click here to Skip to main content
15,890,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with Array of char* Pin
ilostmyid218-Feb-09 19:32
professionalilostmyid218-Feb-09 19:32 
QuestionHow to change the column order or position? Pin
mikert_200817-Feb-09 23:53
mikert_200817-Feb-09 23:53 
AnswerRe: How to change the column order or position? Pin
David Crow18-Feb-09 3:21
David Crow18-Feb-09 3:21 
Questionsaving list control data in a string Pin
brucewayn17-Feb-09 23:48
brucewayn17-Feb-09 23:48 
AnswerRe: saving list control data in a string Pin
«_Superman_»17-Feb-09 23:58
professional«_Superman_»17-Feb-09 23:58 
AnswerRe: saving list control data in a string Pin
Sarath C18-Feb-09 0:08
Sarath C18-Feb-09 0:08 
QuestionRe: saving list control data in a string Pin
brucewayn18-Feb-09 0:21
brucewayn18-Feb-09 0:21 
AnswerRe: saving list control data in a string Pin
Sarath C18-Feb-09 0:28
Sarath C18-Feb-09 0:28 
I believe Superman already given you idea on getting text of selected items.

Here's the code snippet. Please check MSDN.It contains lot of sample snippet with documentation

CString strColumText;
	POSITION pos = m_List.GetFirstSelectedItemPosition();
	if (pos == NULL)
	{
		TRACE(_T("No items were selected!\n"));
	}
	else
	{
		while (pos)
		{
			int nItem = m_List.GetNextSelectedItem(pos);
			strColumText += _T("|") + m_List.GetItemText( nItem, 2 );
		}
	}


-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin

QuestionSuppressing dialog UI in a property sheet Pin
Mushtaque Nizamani17-Feb-09 23:28
Mushtaque Nizamani17-Feb-09 23:28 
AnswerRe: Suppressing dialog UI in a property sheet Pin
«_Superman_»17-Feb-09 23:42
professional«_Superman_»17-Feb-09 23:42 
GeneralRe: Suppressing dialog UI in a property sheet Pin
Mushtaque Nizamani18-Feb-09 0:02
Mushtaque Nizamani18-Feb-09 0:02 
AnswerRe: Suppressing dialog UI in a property sheet Pin
_AnsHUMAN_ 18-Feb-09 0:14
_AnsHUMAN_ 18-Feb-09 0:14 
QuestionProblem passing an array of UDT from Excel VBA to a C++ dll Pin
eight17-Feb-09 23:28
eight17-Feb-09 23:28 
AnswerRe: Problem passing an array of UDT from Excel VBA to a C++ dll Pin
dishaagrawal8-Dec-09 5:49
dishaagrawal8-Dec-09 5:49 
QuestionUnable to print Images in ListBox Pin
hemlat17-Feb-09 22:21
hemlat17-Feb-09 22:21 
AnswerRe: Unable to print Images in ListBox Pin
Iain Clarke, Warrior Programmer17-Feb-09 22:58
Iain Clarke, Warrior Programmer17-Feb-09 22:58 
GeneralRe: Unable to print Images in ListBox Pin
hemlat17-Feb-09 23:16
hemlat17-Feb-09 23:16 
GeneralRe: Unable to print Images in ListBox Pin
Iain Clarke, Warrior Programmer17-Feb-09 23:20
Iain Clarke, Warrior Programmer17-Feb-09 23:20 
QuestionHow to get the password in IAS extension dll if ms-chap is used by radius client? Pin
okmnji7951317-Feb-09 21:55
okmnji7951317-Feb-09 21:55 
QuestionHow do I get the error message displayed on a console ? Pin
SherTeks17-Feb-09 21:12
SherTeks17-Feb-09 21:12 
AnswerRe: How do I get the error message displayed on a console ? Pin
Stuart Dootson17-Feb-09 22:26
professionalStuart Dootson17-Feb-09 22:26 
AnswerRe: How do I get the error message displayed on a console ? Pin
Naveen17-Feb-09 22:28
Naveen17-Feb-09 22:28 
Questiontoken for the network saved network username? Pin
Green Fuze17-Feb-09 21:06
Green Fuze17-Feb-09 21:06 
Questionhow can i see data added to comboBox Pin
MahaKh17-Feb-09 20:59
MahaKh17-Feb-09 20:59 
AnswerRe: how can i see data added to comboBox Pin
Cedric Moonen17-Feb-09 21:21
Cedric Moonen17-Feb-09 21:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.