Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: GPRS C++ Pin
David Crow7-Aug-06 3:47
David Crow7-Aug-06 3:47 
GeneralRe: GPRS C++ Pin
flippydeflippydebop7-Aug-06 5:05
flippydeflippydebop7-Aug-06 5:05 
GeneralRe: GPRS C++ Pin
flippydeflippydebop8-Aug-06 5:32
flippydeflippydebop8-Aug-06 5:32 
QuestionRe: GPRS C++ Pin
David Crow8-Aug-06 5:40
David Crow8-Aug-06 5:40 
QuestionIStorage and IStream Pin
Waldermort6-Aug-06 4:47
Waldermort6-Aug-06 4:47 
AnswerRe: IStorage and IStream Pin
Jörgen Sigvardsson6-Aug-06 5:40
Jörgen Sigvardsson6-Aug-06 5:40 
GeneralRe: IStorage and IStream Pin
Waldermort6-Aug-06 5:47
Waldermort6-Aug-06 5:47 
GeneralRe: IStorage and IStream Pin
Waldermort6-Aug-06 6:37
Waldermort6-Aug-06 6:37 
AnswerRe: IStorage and IStream Pin
bob169726-Aug-06 5:55
bob169726-Aug-06 5:55 
QuestionRe: IStorage and IStream Pin
David Crow7-Aug-06 3:50
David Crow7-Aug-06 3:50 
QuestionKeyboard Navigation in Win32 application Pin
_sidd6-Aug-06 4:44
_sidd6-Aug-06 4:44 
AnswerRe: Keyboard Navigation in Win32 application Pin
James Brown6-Aug-06 7:02
James Brown6-Aug-06 7:02 
QuestionMFC Control Wizard in VS2005 Pin
Matthias19786-Aug-06 2:17
Matthias19786-Aug-06 2:17 
AnswerRe: MFC Control Wizard in VS2005 Pin
bob169726-Aug-06 6:08
bob169726-Aug-06 6:08 
QuestionInsert numbers to access using ADO Pin
Mugambi6-Aug-06 0:26
Mugambi6-Aug-06 0:26 
QuestionProcessing LVN_ITEMCHANGED for multiple items Pin
_johan5-Aug-06 21:21
_johan5-Aug-06 21:21 
QuestionRe: Processing LVN_ITEMCHANGED for multiple items Pin
David Crow7-Aug-06 3:55
David Crow7-Aug-06 3:55 
AnswerRe: Processing LVN_ITEMCHANGED for multiple items Pin
_johan7-Aug-06 11:34
_johan7-Aug-06 11:34 
Questionchange bk color of CPropertySheet Pin
includeh105-Aug-06 21:17
includeh105-Aug-06 21:17 
QuestionCList Vs CArray MFC Pin
-Mohan-5-Aug-06 18:59
-Mohan-5-Aug-06 18:59 
AnswerRe: CList Vs CArray MFC Pin
Joe Woodbury5-Aug-06 19:44
professionalJoe Woodbury5-Aug-06 19:44 
AnswerRe: CList Vs CArray MFC Pin
ThatsAlok5-Aug-06 23:09
ThatsAlok5-Aug-06 23:09 
AnswerRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 1:47
protectorChristian Graus6-Aug-06 1:47 
GeneralRe: CList Vs CArray MFC Pin
bob169726-Aug-06 5:46
bob169726-Aug-06 5:46 
"The core thing to understand is that MFC containers" is that they were written with CObject derived classes in mind so they fit into an MFC application very nicely. I can serialize my CTypedPtrXXX collections with a simple statement like

m_ImageObjectMap.Serialize(ar);

All of my object allocations are handled for me. After that single statement, the code used to manipulate these collections can get to work. Multi-dimensional collections are a breeze and they are type-safe. In a typical MFC doc/view based application, the MFC template based containers have made coding complex polymorphic classes fairly easy.

Now with that said, I've never used STL (I use MFC extensively) so please elaborate on your statement...

Christian Graus wrote:
They are in every way inferior to STL containers list and vector. The same limitations exist ( one is an array, one is a linked list ), but the extra features and standard nature of the STL makes them far more useful.


How exactly does STL integrate better into MFC application than it's own CObject aware containers? As a novice to STL, I'd love to learn.
GeneralRe: CList Vs CArray MFC Pin
Kevin McFarlane6-Aug-06 6:43
Kevin McFarlane6-Aug-06 6:43 

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.