Click here to Skip to main content
15,888,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: CList Vs CArray MFC Pin
bob169726-Aug-06 7:35
bob169726-Aug-06 7:35 
GeneralRe: CList Vs CArray MFC Pin
Kevin McFarlane6-Aug-06 8:50
Kevin McFarlane6-Aug-06 8:50 
GeneralRe: CList Vs CArray MFC [modified] Pin
bob169726-Aug-06 9:27
bob169726-Aug-06 9:27 
GeneralRe: CList Vs CArray MFC Pin
Kevin McFarlane6-Aug-06 9:44
Kevin McFarlane6-Aug-06 9:44 
GeneralRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 10:46
protectorChristian Graus6-Aug-06 10:46 
GeneralRe: CList Vs CArray MFC Pin
Zac Howland7-Aug-06 4:11
Zac Howland7-Aug-06 4:11 
GeneralRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 10:48
protectorChristian Graus6-Aug-06 10:48 
GeneralRe: CList Vs CArray MFC Pin
Zac Howland7-Aug-06 4:01
Zac Howland7-Aug-06 4:01 
GeneralRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 11:01
protectorChristian Graus6-Aug-06 11:01 
GeneralRe: CList Vs CArray MFC Pin
Kevin McFarlane6-Aug-06 23:18
Kevin McFarlane6-Aug-06 23:18 
GeneralRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 23:53
protectorChristian Graus6-Aug-06 23:53 
GeneralRe: CList Vs CArray MFC Pin
Zac Howland7-Aug-06 3:56
Zac Howland7-Aug-06 3:56 
GeneralRe: CList Vs CArray MFC Pin
Christian Graus7-Aug-06 10:32
protectorChristian Graus7-Aug-06 10:32 
GeneralRe: CList Vs CArray MFC Pin
Zac Howland7-Aug-06 14:48
Zac Howland7-Aug-06 14:48 
AnswerRe: CList Vs CArray MFC Pin
Hamid_RT6-Aug-06 3:08
Hamid_RT6-Aug-06 3:08 
AnswerRe: CList Vs CArray MFC Pin
David Crow7-Aug-06 3:59
David Crow7-Aug-06 3:59 

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.