Click here to Skip to main content
16,007,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCProgressCtrl Color Pin
JennyP6-Aug-02 18:33
JennyP6-Aug-02 18:33 
GeneralRe: CProgressCtrl Color Pin
Shog96-Aug-02 19:42
sitebuilderShog96-Aug-02 19:42 
QuestionRTTI...? and MFC...? Pin
alex.barylski6-Aug-02 18:23
alex.barylski6-Aug-02 18:23 
AnswerRe: RTTI...? and MFC...? Pin
ttzzgg_807136-Aug-02 21:54
ttzzgg_807136-Aug-02 21:54 
GeneralRe: RTTI...? and MFC...? Pin
alex.barylski7-Aug-02 11:33
alex.barylski7-Aug-02 11:33 
AnswerRe: RTTI...? and MFC...? Pin
Tomasz Sowinski7-Aug-02 0:10
Tomasz Sowinski7-Aug-02 0:10 
GeneralRe: RTTI...? and MFC...? Pin
alex.barylski7-Aug-02 11:30
alex.barylski7-Aug-02 11:30 
GeneralRe: RTTI...? and MFC...? Pin
Tomasz Sowinski7-Aug-02 11:37
Tomasz Sowinski7-Aug-02 11:37 
Hockey wrote:
I did a little more reading an it turns out this isn't accomplished via RTTI...

Well, it isn't accomplished with C++ RTTI (dynamic_cast, typeid, typeinfo). MFC has its own RTTI invented before VC had support for C++ RTTI.

Hockey wrote:
I what I want to accomplish not dynamic creation...?

I'm not sure what do you mean here. If you want to get universal method for creating objects based on class name, you may find this article useful: http://www.microsoft.com/msj/defaulttop.asp?page=/msj/archive/S385.htm[^]

The article is titled 'Roll Your Own Persistence Implementations to Go Beyond the MFC Frontier', but dynamic creation is the base for serialization. Any reading which takes on 'factory' design pattern may also give you additional understanding of this subject.

Tomasz Sowinski -- http://www.shooltz.com

What is "scratch" and why can everything be made from it?

GeneralRe: RTTI...? and MFC...? Pin
alex.barylski7-Aug-02 12:20
alex.barylski7-Aug-02 12:20 
GeneralRe: RTTI...? and MFC...? Pin
Tomasz Sowinski7-Aug-02 12:38
Tomasz Sowinski7-Aug-02 12:38 
AnswerRe: RTTI...? and MFC...? Pin
Neville Franks7-Aug-02 0:39
Neville Franks7-Aug-02 0:39 
GeneralRe: RTTI...? and MFC...? Pin
alex.barylski7-Aug-02 11:37
alex.barylski7-Aug-02 11:37 
GeneralRe: RTTI...? and MFC...? Pin
Neville Franks11-Aug-02 11:36
Neville Franks11-Aug-02 11:36 
QuestionHow I write a wizard that have 4 window ? Pin
storein6-Aug-02 17:09
storein6-Aug-02 17:09 
AnswerRe: How I write a wizard that have 4 window ? Pin
Michael Dunn6-Aug-02 18:29
sitebuilderMichael Dunn6-Aug-02 18:29 
GeneralRe: How I write a wizard that have 4 window ? Pin
storein6-Aug-02 21:02
storein6-Aug-02 21:02 
GeneralC++.net question Pin
Zenix26-Aug-02 16:05
Zenix26-Aug-02 16:05 
Generalsendmessage help Pin
imran_rafique6-Aug-02 16:02
imran_rafique6-Aug-02 16:02 
GeneralRe: sendmessage help Pin
Peter Occil6-Aug-02 17:00
Peter Occil6-Aug-02 17:00 
Generalshortcut access to base class function/variable Pin
oRion6-Aug-02 16:00
oRion6-Aug-02 16:00 
GeneralRe: shortcut access to base class function/variable Pin
Anonymous6-Aug-02 23:24
Anonymous6-Aug-02 23:24 
GeneralRe: shortcut access to base class function/variable Pin
oRion7-Aug-02 2:43
oRion7-Aug-02 2:43 
GeneralFile copy (Backup/Restore) utility.Read it n u'll cum 2 know Pin
tushar bhatnagar6-Aug-02 13:18
tushar bhatnagar6-Aug-02 13:18 
GeneralRe: File copy (Backup/Restore) utility.Read it n u'll cum 2 know Pin
Anonymous6-Aug-02 23:30
Anonymous6-Aug-02 23:30 
Generaldynamic button ... Pin
AlinRO6-Aug-02 13:17
AlinRO6-Aug-02 13:17 

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.