Click here to Skip to main content
15,887,294 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: problem Pin
Albert Holguin1-Oct-12 4:09
professionalAlbert Holguin1-Oct-12 4:09 
QuestionGeneric Get and Set as interface Pin
Durga_Devi30-Sep-12 1:13
Durga_Devi30-Sep-12 1:13 
AnswerRe: Generic Get and Set as interface Pin
CPallini30-Sep-12 3:03
mveCPallini30-Sep-12 3:03 
AnswerRe: Generic Get and Set as interface Pin
pasztorpisti30-Sep-12 5:10
pasztorpisti30-Sep-12 5:10 
GeneralRe: Generic Get and Set as interface Pin
Durga_Devi30-Sep-12 8:13
Durga_Devi30-Sep-12 8:13 
GeneralRe: Generic Get and Set as interface Pin
pasztorpisti30-Sep-12 8:30
pasztorpisti30-Sep-12 8:30 
GeneralRe: Generic Get and Set as interface Pin
Durga_Devi30-Sep-12 22:13
Durga_Devi30-Sep-12 22:13 
GeneralRe: Generic Get and Set as interface Pin
pasztorpisti30-Sep-12 22:59
pasztorpisti30-Sep-12 22:59 
I don't exactly know the problem you wanna solve and don't know what part is unclear for you. If an enum + GetType() is enough for you then you can omit the downcast methods but either way you choose you will have to downcast the object somehow so without downcast methods you will have to use C++ static cast. As I described in some situations you might need neither the enum nor the downcast, for example if a virtual method like ToString() can do the job.
GeneralRe: Generic Get and Set as interface Pin
Durga_Devi3-Oct-12 10:14
Durga_Devi3-Oct-12 10:14 
GeneralRe: Generic Get and Set as interface Pin
pasztorpisti3-Oct-12 10:30
pasztorpisti3-Oct-12 10:30 
QuestionCrystal Report Win32 C++ in VS2010 Pin
simuytrix28-Sep-12 21:51
simuytrix28-Sep-12 21:51 
AnswerRe: Crystal Report Win32 C++ in VS2010 Pin
Richard MacCutchan28-Sep-12 22:11
mveRichard MacCutchan28-Sep-12 22:11 
AnswerRe: Crystal Report Win32 C++ in VS2010 Pin
Davide Zaccanti1-Oct-12 10:15
Davide Zaccanti1-Oct-12 10:15 
QuestionMigration from VC2006 to 2008 Pin
Stan the man28-Sep-12 15:55
Stan the man28-Sep-12 15:55 
AnswerRe: Migration from VC2006 to 2008 Pin
Richard MacCutchan28-Sep-12 22:10
mveRichard MacCutchan28-Sep-12 22:10 
GeneralRe: Migration from VC2006 to 2008 Pin
Stan the man28-Sep-12 23:23
Stan the man28-Sep-12 23:23 
GeneralRe: Migration from VC2006 to 2008 Pin
Richard MacCutchan28-Sep-12 23:33
mveRichard MacCutchan28-Sep-12 23:33 
GeneralRe: Migration from VC2006 to 2008 Pin
Marius Bancila1-Oct-12 10:29
professionalMarius Bancila1-Oct-12 10:29 
AnswerRe: Migration from VC2006 to 2008 Pin
CPallini29-Sep-12 3:46
mveCPallini29-Sep-12 3:46 
GeneralRe: Migration from VC2006 to 2008 Pin
Stan the man29-Sep-12 18:51
Stan the man29-Sep-12 18:51 
GeneralRe: Migration from VC2006 to 2008 Pin
CPallini30-Sep-12 3:03
mveCPallini30-Sep-12 3:03 
AnswerRe: Migration from VC2006 to 2008 Pin
jschell30-Sep-12 8:24
jschell30-Sep-12 8:24 
QuestionMFC, My Picture Control has problem. [Solved] Pin
yu-jian28-Sep-12 4:29
yu-jian28-Sep-12 4:29 
QuestionRe: MFC, My Picture Control has problem. Pin
David Crow28-Sep-12 7:29
David Crow28-Sep-12 7:29 
AnswerRe: MFC, My Picture Control has problem. Pin
jeron128-Sep-12 8:33
jeron128-Sep-12 8:33 

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.