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

C / C++ / MFC

 
QuestionMFC and dynamic_cast? Pin
nobaq5-Jan-09 10:32
nobaq5-Jan-09 10:32 
AnswerRe: MFC and dynamic_cast? Pin
CPallini5-Jan-09 10:40
mveCPallini5-Jan-09 10:40 
GeneralRe: MFC and dynamic_cast? Pin
Mark Salsbery5-Jan-09 10:45
Mark Salsbery5-Jan-09 10:45 
GeneralRe: MFC and dynamic_cast? Pin
CPallini5-Jan-09 23:05
mveCPallini5-Jan-09 23:05 
GeneralRe: MFC and dynamic_cast? Pin
Mark Salsbery6-Jan-09 5:01
Mark Salsbery6-Jan-09 5:01 
GeneralRe: MFC and dynamic_cast? Pin
CPallini6-Jan-09 5:12
mveCPallini6-Jan-09 5:12 
GeneralRe: MFC and dynamic_cast? Pin
Mark Salsbery6-Jan-09 5:14
Mark Salsbery6-Jan-09 5:14 
AnswerRe: MFC and dynamic_cast? [modified] Pin
Jijo.Raj5-Jan-09 10:53
Jijo.Raj5-Jan-09 10:53 
For determining class relations at runtime, MFC have its own mechanism called RTCI(Runtime Class Information) which is similar to RTTI in C++. You can resolve class relations by using CRuntimeClass::IsKindOf() etc.

[Edit] With respect to Pillani's reply.
So its obvious that C++ RTTI will be switch offed by default, since MFC itself is providing support. Enabling two similar stuffs at same time helps only to reduce performance. Smile | :)

I'm not sure, but i think that the RTCI evolved and exists together with RTTI due to historic reasons.

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

modified on Monday, January 5, 2009 5:12 PM

GeneralRe: MFC and dynamic_cast? Pin
nobaq5-Jan-09 12:24
nobaq5-Jan-09 12:24 
QuestionHow to use C# class library dll controls in C++ Win32 project Pin
atisman5-Jan-09 10:02
atisman5-Jan-09 10:02 
AnswerRe: How to use C# class library dll controls in C++ Win32 project Pin
Hamid_RT5-Jan-09 21:21
Hamid_RT5-Jan-09 21:21 
QuestionLimit on MFC apps running at one time? Pin
Zigoto005-Jan-09 9:22
Zigoto005-Jan-09 9:22 
AnswerRe: Limit on MFC apps running at one time? Pin
CPallini5-Jan-09 10:09
mveCPallini5-Jan-09 10:09 
QuestionHow can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Steve_5-Jan-09 7:22
Steve_5-Jan-09 7:22 
AnswerRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
CPallini5-Jan-09 7:39
mveCPallini5-Jan-09 7:39 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Steve_5-Jan-09 8:15
Steve_5-Jan-09 8:15 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Code-o-mat5-Jan-09 9:12
Code-o-mat5-Jan-09 9:12 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Mark Salsbery5-Jan-09 9:15
Mark Salsbery5-Jan-09 9:15 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Steve_5-Jan-09 11:50
Steve_5-Jan-09 11:50 
GeneralRe: How can I remove a Window border (title bar etc) using HWND via Win32 after the window has been created? Pin
Member 1038099621-Mar-14 22:56
Member 1038099621-Mar-14 22:56 
QuestionHow to display a dialog as domodal which is invoked through shellexecute? Pin
Super Hornet5-Jan-09 7:14
Super Hornet5-Jan-09 7:14 
AnswerRe: How to display a dialog as domodal which is invoked through shellexecute? Pin
David Crow5-Jan-09 8:00
David Crow5-Jan-09 8:00 
QuestionHiding a view Pin
nobaq5-Jan-09 5:27
nobaq5-Jan-09 5:27 
AnswerRe: Hiding a view Pin
Code-o-mat5-Jan-09 5:50
Code-o-mat5-Jan-09 5:50 
GeneralRe: Hiding a view Pin
nobaq5-Jan-09 5:57
nobaq5-Jan-09 5:57 

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.