Click here to Skip to main content
15,913,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Concept/example for virtual list Pin
nobaq7-Jan-09 7:17
nobaq7-Jan-09 7:17 
Questionimapi2 cd name Pin
meme817-Jan-09 3:52
meme817-Jan-09 3:52 
Questionwhy SubclassWindow fails? [modified] Pin
SanjaySMK7-Jan-09 3:51
SanjaySMK7-Jan-09 3:51 
AnswerRe: why SubclassWindow fails? Pin
Code-o-mat7-Jan-09 5:05
Code-o-mat7-Jan-09 5:05 
Questionreplace CMapStringToOb by standard C Pin
RedSonja7-Jan-09 2:28
RedSonja7-Jan-09 2:28 
AnswerRe: replace CMapStringToOb by standard C Pin
CPallini7-Jan-09 2:54
mveCPallini7-Jan-09 2:54 
GeneralRe: replace CMapStringToOb by standard C Pin
RedSonja7-Jan-09 2:58
RedSonja7-Jan-09 2:58 
GeneralRe: replace CMapStringToOb by standard C Pin
Cedric Moonen7-Jan-09 3:04
Cedric Moonen7-Jan-09 3:04 
I guess using a std::map would do the trick. The problem is that you won't be able to use CObject as a base class, but anyway it is quite ugly anyway. If all the objects in your map have the same base class, then it is fine. If your map needs to store different kind of objects, then probably you need to think the design a bit better...

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: replace CMapStringToOb by standard C Pin
CPallini7-Jan-09 3:09
mveCPallini7-Jan-09 3:09 
GeneralRe: replace CMapStringToOb by standard C Pin
RedSonja7-Jan-09 3:26
RedSonja7-Jan-09 3:26 
GeneralRe: replace CMapStringToOb by standard C Pin
Cedric Moonen7-Jan-09 3:32
Cedric Moonen7-Jan-09 3:32 
GeneralRe: replace CMapStringToOb by standard C Pin
RedSonja7-Jan-09 3:36
RedSonja7-Jan-09 3:36 
QuestionXML Writer Pin
amit.code7-Jan-09 1:48
amit.code7-Jan-09 1:48 
AnswerRe: XML Writer Pin
Stuart Dootson7-Jan-09 2:02
professionalStuart Dootson7-Jan-09 2:02 
AnswerRe: XML Writer Pin
CPallini7-Jan-09 2:08
mveCPallini7-Jan-09 2:08 
GeneralRe: XML Writer Pin
Stuart Dootson7-Jan-09 3:32
professionalStuart Dootson7-Jan-09 3:32 
GeneralRe: XML Writer Pin
CPallini7-Jan-09 3:49
mveCPallini7-Jan-09 3:49 
GeneralRe: XML Writer Pin
amit.code8-Jan-09 18:09
amit.code8-Jan-09 18:09 
GeneralRe: XML Writer Pin
CPallini8-Jan-09 21:23
mveCPallini8-Jan-09 21:23 
QuestionManipulating BITMAPS Pin
KASR17-Jan-09 1:08
KASR17-Jan-09 1:08 
AnswerRe: Manipulating BITMAPS Pin
CPallini7-Jan-09 1:39
mveCPallini7-Jan-09 1:39 
JokeRe: Manipulating BITMAPS Pin
Luc Pattyn7-Jan-09 2:00
sitebuilderLuc Pattyn7-Jan-09 2:00 
GeneralRe: Manipulating BITMAPS Pin
CPallini7-Jan-09 2:03
mveCPallini7-Jan-09 2:03 
AnswerRe: Manipulating BITMAPS Pin
John R. Shaw7-Jan-09 5:32
John R. Shaw7-Jan-09 5:32 
QuestionRegarding ComboBox in Toolbar Pin
tina_p1237-Jan-09 1:01
tina_p1237-Jan-09 1:01 

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.