Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp CList or? I'm lost. Pin
Jay Beckert2-Oct-01 14:49
Jay Beckert2-Oct-01 14:49 
GeneralRe: Help CList or? I'm lost. Pin
Christian Graus2-Oct-01 19:19
protectorChristian Graus2-Oct-01 19:19 
GeneralRe: Help CList or? I'm lost. Pin
Jay Beckert3-Oct-01 11:15
Jay Beckert3-Oct-01 11:15 
GeneralRe: Help CList or? I'm lost. Pin
Christian Graus3-Oct-01 11:34
protectorChristian Graus3-Oct-01 11:34 
GeneralRe: Help CList or? I'm lost. Pin
Jay Beckert3-Oct-01 11:45
Jay Beckert3-Oct-01 11:45 
GeneralRe: Help CList or? I'm lost. Pin
Christian Graus3-Oct-01 11:58
protectorChristian Graus3-Oct-01 11:58 
GeneralRe: Help CList or? I'm lost. Pin
Jay Beckert6-Oct-01 13:05
Jay Beckert6-Oct-01 13:05 
GeneralRe: Help CList or? I'm lost. Pin
Christian Graus6-Oct-01 13:13
protectorChristian Graus6-Oct-01 13:13 
MSDN does not provide much good STL info. You can step through a map using iterators, like this:

map<CString, int>::iterator it = m_MyMap.begin();
for (;it != m_MyMp.end(), ++it)
{
    CString s = it->first();
    // Do what you want with it.  The int is it->second, if you need it
}



Christian

As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.

Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
GeneralRe: Help CList or? I'm lost. Pin
Jay Beckert6-Oct-01 13:26
Jay Beckert6-Oct-01 13:26 
GeneralRe: Help CList or? I'm lost. Pin
Jay Beckert9-Oct-01 15:25
Jay Beckert9-Oct-01 15:25 
GeneralRe: Help CList or? I'm lost. Pin
Christian Graus9-Oct-01 15:37
protectorChristian Graus9-Oct-01 15:37 
QuestionProperty list like visual studio?? Pin
mhowes2-Oct-01 12:31
mhowes2-Oct-01 12:31 
AnswerRe: Property list like visual studio?? Pin
Bret Faller2-Oct-01 13:21
Bret Faller2-Oct-01 13:21 
GeneralConstructors and (...) Pin
Sprudling2-Oct-01 11:39
Sprudling2-Oct-01 11:39 
GeneralRe: Constructors and (...) Pin
Tomasz Sowinski2-Oct-01 11:59
Tomasz Sowinski2-Oct-01 11:59 
GeneralRe: Constructors and (...) Pin
Sprudling2-Oct-01 12:58
Sprudling2-Oct-01 12:58 
GeneralRe: Constructors and (...) Pin
Tomasz Sowinski2-Oct-01 23:36
Tomasz Sowinski2-Oct-01 23:36 
GeneralConvert Integer to LPSTR Pin
2-Oct-01 11:14
suss2-Oct-01 11:14 
GeneralRe: Convert Integer to LPSTR Pin
Carlos Antollini2-Oct-01 11:41
Carlos Antollini2-Oct-01 11:41 
GeneralThank you! Pin
2-Oct-01 11:59
suss2-Oct-01 11:59 
QuestionIs it even possible to create a multiline CListCtrl in report mode? Pin
DanYELL2-Oct-01 11:11
DanYELL2-Oct-01 11:11 
AnswerRe: Is it even possible to create a multiline CListCtrl in report mode? Pin
Bret Faller2-Oct-01 13:20
Bret Faller2-Oct-01 13:20 
GeneralRe: Is it even possible to create a multiline CListCtrl in report mode? Pin
DanYELL3-Oct-01 3:29
DanYELL3-Oct-01 3:29 
GeneralHere's a stumper - 'fixing' text selection Pin
Jason Hihn2-Oct-01 11:03
Jason Hihn2-Oct-01 11:03 
Generalread a single line from textfile Pin
2-Oct-01 9:47
suss2-Oct-01 9:47 

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.