Click here to Skip to main content
15,867,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSTL in MFC projects, why??? Pin
Andre xxxxxxx13-Feb-06 2:54
Andre xxxxxxx13-Feb-06 2:54 
AnswerRe: STL in MFC projects, why??? Pin
toxcct13-Feb-06 3:04
toxcct13-Feb-06 3:04 
GeneralRe: STL in MFC projects, why??? Pin
Andre xxxxxxx13-Feb-06 3:40
Andre xxxxxxx13-Feb-06 3:40 
GeneralRe: STL in MFC projects, why??? Pin
toxcct13-Feb-06 3:51
toxcct13-Feb-06 3:51 
GeneralRe: STL in MFC projects, why??? Pin
Andre xxxxxxx13-Feb-06 4:01
Andre xxxxxxx13-Feb-06 4:01 
GeneralRe: STL in MFC projects, why??? Pin
Rob Caldecott13-Feb-06 4:05
Rob Caldecott13-Feb-06 4:05 
GeneralRe: STL in MFC projects, why??? Pin
toxcct13-Feb-06 4:10
toxcct13-Feb-06 4:10 
GeneralRe: STL in MFC projects, why??? Pin
Andre xxxxxxx13-Feb-06 4:22
Andre xxxxxxx13-Feb-06 4:22 
toxcct wrote:
consider the case where you do a general treatment on datas in background... these treatments have nothing to know about the GUI, whether it is mfc, owl, etc...

if you don't care about what I say, let it down. if however, you still want to understand my reasons to answer so, have a look a my VisualCalc article. you will - i hope for you - understand that i can easily interchange the user interface depending on the plateform i target my project.

so, of course MFC is not portable further than windows, but in my case, ONLY the GUI is not portable, so, i don't have to rewrite my whole code. so, i believe that's why STL is used so much... portability is an important point in software development industry, especially when you have to code very fast...


Ok, in that case it makes sense to use STL. But i am talking about custom MFC controls which will never be ported and aree just standalone MFC extensions.

For example CPPTooltip and CTreePropSheetEx on Code Project. These controls will never be portable, and if i derive a control from a MFC class it doesn't make sense to have a STL map in my class.
GeneralRe: STL in MFC projects, why??? Pin
Eytukan13-Feb-06 4:58
Eytukan13-Feb-06 4:58 
GeneralRe: STL in MFC projects, why??? Pin
ThatsAlok14-Feb-06 19:56
ThatsAlok14-Feb-06 19:56 
AnswerRe: STL in MFC projects, why??? Pin
David Crow13-Feb-06 3:09
David Crow13-Feb-06 3:09 
GeneralRe: STL in MFC projects, why??? Pin
Andre xxxxxxx13-Feb-06 3:45
Andre xxxxxxx13-Feb-06 3:45 
GeneralRe: STL in MFC projects, why??? Pin
Rage13-Feb-06 3:48
professionalRage13-Feb-06 3:48 
GeneralRe: STL in MFC projects, why??? Pin
Andre xxxxxxx13-Feb-06 4:06
Andre xxxxxxx13-Feb-06 4:06 
GeneralRe: STL in MFC projects, why??? Pin
Rob Caldecott13-Feb-06 4:08
Rob Caldecott13-Feb-06 4:08 
GeneralSTL and CE Pin
Andre xxxxxxx13-Feb-06 4:31
Andre xxxxxxx13-Feb-06 4:31 
GeneralRe: STL and CE Pin
Rob Caldecott13-Feb-06 4:34
Rob Caldecott13-Feb-06 4:34 
GeneralRe: STL and CE Pin
Andre xxxxxxx13-Feb-06 4:39
Andre xxxxxxx13-Feb-06 4:39 
GeneralRe: STL and CE Pin
Rob Caldecott13-Feb-06 4:42
Rob Caldecott13-Feb-06 4:42 
GeneralRe: STL and CE Pin
toxcct13-Feb-06 4:36
toxcct13-Feb-06 4:36 
GeneralRe: STL and CE Pin
Andre xxxxxxx13-Feb-06 4:40
Andre xxxxxxx13-Feb-06 4:40 
GeneralRe: STL and CE Pin
Jonas Larsson13-Feb-06 5:27
Jonas Larsson13-Feb-06 5:27 
GeneralRe: STL and CE Pin
Andre xxxxxxx13-Feb-06 5:44
Andre xxxxxxx13-Feb-06 5:44 
GeneralRe: STL in MFC projects, why??? Pin
Rob Caldecott13-Feb-06 4:03
Rob Caldecott13-Feb-06 4:03 
GeneralRe: STL in MFC projects, why??? Pin
Nemanja Trifunovic13-Feb-06 4:11
Nemanja Trifunovic13-Feb-06 4:11 

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.